private void exitToolStripMenuItem_Click(object sender, EventArgs e) { if (Misc.UI.Confirm(I18N.ConfirmExitApp)) { setting.SetShutdownReason(VgcApis.Models.Datas.Enums.ShutdownReasons.CloseByUser); Application.Exit(); } }