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

📄 buddyselectionbuddynode.cs

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

    public class BuddySelectionBuddyNode : ContactBuddyNode
    {
        private System.Windows.Forms.CheckState _checkState;
        private string _moodPhrase;
        private string _name;
        private AmigoImage _statusImage;
        private BuddySelectionTree _tree;

        protected override void ConstructClass()
        {
            PaintTreeColumn column = new PaintTreeColumn();
            column.ColumnType = PaintTreeColumnType.CHECKBOX;
            column.bDrawRectangle = true;
            column.bHoverRectangle = true;
            base.Columns.Add(column);
            PaintTreeColumn column2 = new PaintTreeColumn();
            column2.ColumnType = PaintTreeColumnType.IMAGE;
            column2.bDrawRectangle = true;
            column2.bHoverRectangle = true;
            base.Columns.Add(column2);
            PaintTreeColumn column3 = new PaintTreeColumn();
            column3.ColumnType = PaintTreeColumnType.TEXT;
            column3.bDrawRectangle = false;
            column3.bHoverRectangle = false;
            column3.ColumnFont = ContactBuddyNode._staticNickNameFont;
            column3.ColumnText = "";
            base.Columns.Add(column3);
            PaintTreeColumn column4 = new PaintTreeColumn();
            column4.ColumnType = PaintTreeColumnType.TEXT;
            column4.bDrawRectangle = false;
            column4.bHoverRectangle = false;
            column4.ColumnFont = ContactBuddyNode._staticNickNameFont;
            column4.ColumnText = "";
            base.Columns.Add(column4);
            base.NickNameCols = new ColumnCollection();
            base.MoodPhraseCols = new ColumnCollection();
        }

        public System.Windows.Forms.CheckState CheckState
        {
            get
            {
                return this._checkState;
            }
            set
            {
                this._checkState = value;
                if (this._tree != null)
                {
                    this._tree.CheckNodebox(this);
                }
            }
        }

        public string MoodPhrase
        {
            get
            {
                return this._moodPhrase;
            }
            set
            {
                base.Columns[3].ColumnText = value;
                this._moodPhrase = value;
            }
        }

        public string NickName
        {
            get
            {
                return this._name;
            }
            set
            {
                base.Columns[2].ColumnText = value;
                this._name = value;
            }
        }

        public BuddySelectionTree Owner
        {
            get
            {
                return this._tree;
            }
            set
            {
                this._tree = value;
            }
        }

        public AmigoImage StatusImage
        {
            get
            {
                return this._statusImage;
            }
            set
            {
                this._statusImage = value;
                base.Columns[1].image = value;
            }
        }
    }
}

⌨️ 快捷键说明

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