// Form closed 事件中加入如下代码即可
private void frmSetDataPlan_FormClosed(object sender, FormClosedEventArgs e) { System.Environment.Exit(System.Environment.ExitCode); this.Dispose(); this.Close(); }
时间: 2024-11-19 02:41:49
// Form closed 事件中加入如下代码即可
private void frmSetDataPlan_FormClosed(object sender, FormClosedEventArgs e) { System.Environment.Exit(System.Environment.ExitCode); this.Dispose(); this.Close(); }