?? profilecontrolbase.cs
字號(hào):
?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);
}
}
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -