private void createDemoDataButton_Click(object sender, EventArgs e) { if (MessageBoxQuestion.PromptDefaultNo("Delete all data and insert demo data?")) { try { ServerCommand.DeleteAllAndInsertDemoData(); MessageBoxInfo.Show("Done."); } catch (Exception ex) { MessageBoxError.Show(ex.ToString()); } } }