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