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

📄 profilecontrolbase.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Pc.UIContactList
{
    using Imps.Client.Core;
    using Imps.Client.Pc;
    using System;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    public class ProfileControlBase : UserControl, IProfileControl
    {
        private bool _modified;

        public event EventHandler ModifiedChanged;

        public virtual bool CheckUserInput()
        {
            return true;
        }

        public virtual bool ControlLoad()
        {
            return true;
        }

        public virtual bool ControlUnload()
        {
            return true;
        }

        protected virtual void HandleUiChanged()
        {
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.Name = "ProfileControlBase";
            base.Size = new Size(0x10a, 0x13c);
            base.ResumeLayout(false);
        }

        protected virtual void UIData_Changed(object sender, EventArgs e)
        {
        }

        public virtual bool UpdateData(bool update)
        {
            return true;
        }

        public System.Windows.Forms.Control Control
        {
            get
            {
                return this;
            }
        }

        public bool Modified
        {
            get
            {
                return this._modified;
            }
            protected set
            {
                if (this._modified != value)
                {
                    this._modified = value;
                    FuncDispatcher.OnEventHandler(this, this.ModifiedChanged, EventArgs.Empty);
                }
            }
        }
    }
}

⌨️ 快捷键说明

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