private void SendUsageForm_FormClosed(object sender, FormClosedEventArgs e) { GlobalSettings.Pages.BeginEdit(); GlobalSettings.Pages.General().AskWhenUploadUsageStats = !cbxDontAskNext.Checked; GlobalSettings.Pages.General().AllowUploadUsageStats = cbxAllowUpload.Checked; GlobalSettings.Pages.EndEdit(); SendUsageStatsThread.SendUsage(); if (GlobalSettings.Pages.General().AllowUploadUsageStats) { StdDialog.ShowInfo("s_thank_you_for_uploading_stats"); } }
public static void ClosingApp() { HUsage.CallClosingApp(); SendUsageStatsThread.SendUsage(); }