private void ShowSectorsExecute() { try { Sectors sectors = new Sectors(); sectors.Show(); view.Close(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void mySectorsMenu_Click(object sender, RoutedEventArgs e) { var sectors = new Sectors(); sectors.Show(); }