static void UnsafeFail() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); mainMenu = new MainMenu(); Application.Run(mainMenu); } catch (Exception e) { LogCrash(e); CVInterface.PleaseStop(); Application.Exit(); } }
private void yesBut_Click(object sender, EventArgs e) { CVInterface.PleaseStop(); Application.Exit(); }
private void UI_FormClosed(object sender, FormClosedEventArgs e) { CVInterface.PleaseStop(); Application.Exit(); }