private void goBackToMPZP() { BasicInformationViewModel pane = (BasicInformationViewModel)FrameworkApplication.DockPaneManager.Find(BasicInformationViewModel._dockPaneID); pane.Hide(); MPZPListViewModel mpzpPane = (MPZPListViewModel)FrameworkApplication.DockPaneManager.Find(MPZPListViewModel._dockPaneID); mpzpPane.Activate(); }
public static void Show() { MPZPListViewModel pane = (MPZPListViewModel)FrameworkApplication.DockPaneManager.Find(_dockPaneID); if (pane == null) { return; } ((MPZPListView)pane.Content).clearList(); pane.fillTextBoxes(); pane.Activate(); }