Comment ExitToolStripMenuIten_Click Handler

This commit is contained in:
ChsBuffer
2021-01-05 18:10:10 +08:00
parent fe69c5a67b
commit 5bfcbab543
2 changed files with 7 additions and 1 deletions

View File

@@ -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);

View File

@@ -463,6 +463,9 @@ namespace Netch.Forms
Activate();
}
/// <summary>
/// 通知图标右键菜单退出
/// </summary>
private void ExitToolStripButton_Click(object sender, EventArgs e)
{
Exit();