private void resetAllToolStripMenuItem_Click(object sender, EventArgs e) { if (!AreaMapComponent.IsEditing) { AreaMapComponent.ResetAll(); } }