private void frmMain_Closing(object sender, FormClosingEventArgs e) { if (LoadSave.threadRunning) { LoadSave.killThread(); } }
private void openMenu_Click(object sender, EventArgs e) { if (LoadSave.threadRunning) { LoadSave.killThread(); } LoadSave.openFile(tools, this, height, mnuLoad, mnuStatus); }