}// ----------------------------------------- // -- private void FormMain_FormClosing(object sender, FormClosingEventArgs e) { // --To cancel. e.cancel = true if (CDCRUSH.LOCKED) { if (!FormTools.PopupYesNo("An operation is in progress, really quit?", "Confirm")) { e.Cancel = true; } } Properties.Settings.Default.Save(); CDCRUSH.kill(); }// -----------------------------------------
}// ----------------------------------------- // -- private void FormMain_FormClosing(object sender, FormClosingEventArgs e) { Properties.Settings.Default.Save(); CDCRUSH.kill(); }// -----------------------------------------