private void Start() { task.StartTask(); //当完成后将Form2子窗体关闭 this.Invoke((ThreadStart)(() => { load.Close(); })); }
private void Start() { task.StartTask(); this.Invoke((ThreadStart)(() => { load.Close(); })); }
private async void SaveSettingsAsync() { Load Saving = new Load(); Saving.Show(); await Task.Run(() => SaveSetting()); Saving.Close(); }
private void tắtToolStripMenuItem_Click(object sender, EventArgs e) { Load.Close(); }
private void buffer(object sender, EventArgs e) { timer.IsEnabled = false; Load.Close(); }