private void newToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult result = MessageBox.Show("Do you really want a new map? You will lose all unsaved work.", "New Map", MessageBoxButtons.OKCancel, MessageBoxIcon.Stop); if (result == DialogResult.OK) { _db.ClearDb(); DrawMap(); } }