⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 impsdragdrophelper.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Utils
{
    using System;
    using System.Runtime.InteropServices;
    using System.Windows.Forms;

    public class ImpsDragDropHelper
    {
        private static ImpsDragDropHelper _dragdrop = new ImpsDragDropHelper();
        public Guid _guid;
        private string _html;
        private string _text;

        private ImpsDragDropHelper()
        {
        }

        public void DoDragDrop(RichTextBox richtext, string sText, string sHtml, DragDropEffects effect)
        {
            this._text = sText;
            this._html = sHtml;
            richtext.DoDragDrop(sText, effect);
        }

        public bool GetDragDropText(string sText, out string sOut)
        {
            if (sText == this._text)
            {
                sOut = this._html;
                return true;
            }
            sOut = sText;
            return false;
        }

        public static ImpsDragDropHelper DragDropHelper
        {
            get
            {
                return _dragdrop;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -