void CloseButtonClick(object sender, System.EventArgs e) { if (!host.CloseWorkbench(false)) { if (DialogResult.Yes == MessageBox.Show("Force close?", "Force", MessageBoxButtons.YesNo)) { host.CloseWorkbench(true); } } }
internal void CloseIDE() { if (!_sdHost.CloseWorkbench(false)) { //TODO AA : force close } }
public void CloseIDE() { if (!host.CloseWorkbench(false)) { //TODO //if (DialogResult.Yes == MessageBox.Show(Resources.SDIntegration_CloseIDE_Force_close_, Resources.SDIntegration_CloseIDE_Force, MessageBoxButtons.YesNo)) //{ // host.CloseWorkbench(true); //} } }