dev 19-3-29

This commit is contained in:
NaBian committed 2019-03-29 23:45:16 +08:00
1 parent 67dc02ae83
commit 5ee2bdd3f7
17 files changed
+321 -97

No files matched your search

+16
View File
@@ -1,5 +1,7 @@
using System;
using System.ComponentModel;
using HandyControl.Controls;
using HandyControlDemo.Data;
namespace HandyControlDemo
{
@@ -23,5 +25,19 @@ namespace HandyControlDemo
Growl.SetGrowlParent(GrowlPanel, false);
}
protected override void OnClosing(CancelEventArgs e)
{
if (GlobalData.NotifyIconIsShow)
{
MessageBox.Info(Properties.Langs.Lang.AppClosingTip, Properties.Langs.Lang.Tip);
Hide();
e.Cancel = true;
}
else
{
base.OnClosing(e);
}
}
}
}