加载界面、程序关闭界面、单例模式
This commit is contained in:
@ -19,7 +19,19 @@ namespace DHSoftware.Views
|
||||
InitData();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 窗体对象实例
|
||||
/// </summary>
|
||||
private static SettingWindow _instance;
|
||||
internal static SettingWindow Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_instance == null)
|
||||
_instance = new SettingWindow();
|
||||
return _instance;
|
||||
}
|
||||
}
|
||||
private void BindEventHandler()
|
||||
{
|
||||
Resize += SettingWindow1_Resize;
|
||||
|
Reference in New Issue
Block a user