Beispiel #1
0
 private void Worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     if (!Properties.Settings.Default.startedAfterInstall)
     {
         FormUpdateLog updateLog = new FormUpdateLog();
         updateLog.ShowDialog(this);
         updateLog.Dispose();
     }
 }
Beispiel #2
0
        private void 更新日志ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //更新情况复位
            if (UserClient.JsonSettings.IsNewVersionRunning)
            {
                UserClient.JsonSettings.IsNewVersionRunning = false;
                UserClient.JsonSettings.SaveSettings();
            }
            FormUpdateLog ful = new FormUpdateLog(UserClient.HistoryVersions);

            ful.ShowDialog();
            ful.Dispose();
        }