?? optionscontrolbase.cs
字號(hào):
?namespace Imps.Client.Pc
{
using Imps.Client.Core;
using System;
using System.Collections;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
public class OptionsControlBase : UserControl, IOptionsControl
{
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 static void InnerSetListControlDataSource(ListControl ctrl, IList list)
{
ctrl.DataSource = list;
ctrl.DisplayMember = "Name";
ctrl.ValueMember = "Value";
}
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 + -