mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Comment ExitToolStripMenuIten_Click Handler
This commit is contained in:
@@ -290,7 +290,7 @@ namespace Netch.Forms
|
||||
string pac = Path.Combine(Global.NetchDir, $"bin\\pac.txt");
|
||||
|
||||
await WebUtil.DownloadFileAsync(req, pac);
|
||||
|
||||
|
||||
NotifyTip(i18N.Translate("PAC updated successfully"));
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -347,6 +347,9 @@ namespace Netch.Forms
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 菜单栏强制退出
|
||||
/// </summary>
|
||||
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Exit(true);
|
||||
|
||||
@@ -463,6 +463,9 @@ namespace Netch.Forms
|
||||
Activate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 通知图标右键菜单退出
|
||||
/// </summary>
|
||||
private void ExitToolStripButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Exit();
|
||||
|
||||
Reference in New Issue
Block a user