private void mnuInitializeMap_Click(object sender, EventArgs e) { tcTop.SelectedTab = tabPage1; Application.DoEvents(); }