//------------------------------------------------------------------------- private void f_selected_sodx_FormClosing(object sender, FormClosingEventArgs e) { if (_threadProcess != null) { _threadProcess.StopThread(500); _threadProcess.Dispose(); _threadProcess = null; } }
private void f_splash_FormClosed(object sender, FormClosedEventArgs e) { if (_threadGui != null) { _threadGui.StopThread(500); _threadGui.Dispose(); _threadGui = null; } }