コード例 #1
0
 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");
     }
 }
コード例 #2
0
ファイル: UsageStats.cs プロジェクト: janproch/datadmin
 public static void ClosingApp()
 {
     HUsage.CallClosingApp();
     SendUsageStatsThread.SendUsage();
 }