private void ShowAOIList() { var aoiw = new AOIWindow(); aoiw.ShowAOIList(); aoiw.Owner = this; aoiw.Show(); }
private void OnMenuClick(object sender, RoutedEventArgs e) { switch (((WindowMenuItem)sender).Name) { case "menuEdit": break; case "menuAddLayerBoundaryLGU": string feedfBack = ""; MapWindowManager.AddLGUBoundary(out feedfBack); if (feedfBack.Length > 0) { System.Windows.MessageBox.Show(feedfBack, "GPX Manager", MessageBoxButton.OK, MessageBoxImage.Information); } break; case "menuMapTilesSelectProvider": SelectTileProvider(); break; case "menuClose": Close(); break; case "menuSaveMapState": SaveMapState(); break; case "menuAOICreate": var aoiw = new AOIWindow(); aoiw.Owner = this; aoiw.AddNewAOI(); aoiw.Show(); AOIManager.AddNew(); break; case "menuAOIList": aoiw = new AOIWindow(); aoiw.ShowAOIList(); aoiw.Owner = this; aoiw.Show(); break; case "menuIslandLabels": break; } }