/// <summary> /// Show the DockPane. /// </summary> internal static void Show() { JobManagementViewModel pane = FrameworkApplication.DockPaneManager.Find(_dockPaneID) as JobManagementViewModel; if (pane == null) { return; } if (pane.JobOpened) { pane.Activate(); } else { pane.Caption = PaneTitle; pane.IsControl = true; pane.IsHeader = false; pane.IsCreate = false; pane.IsOpen = false; pane.IsView = true; pane.IsJobOpen = false; pane.Activate(); } }
protected override void OnClick() { JobManagementViewModel.Show(); }