/// <summary> /// /// </summary> /// <param name="getHelpFor"></param> public void LaunchHelpWindow(ModelSystemStructureModel getHelpFor = null) { var helpUI = new UserControls.Help.HelpDialog(EditorController.Runtime.Configuration); if (getHelpFor != null) { helpUI.SelectModuleContent(getHelpFor); } var document = AddNewWindow("Help", helpUI); document.IsSelected = true; Keyboard.Focus(helpUI); }
private void LaunchHelpWindow_Click(object sender, RoutedEventArgs e) { var helpUI = new UserControls.Help.HelpDialog(EditorController.Runtime.Configuration); var document = AddNewWindow("Help",helpUI); document.IsSelected = true; Keyboard.Focus(helpUI); }
/// <summary> /// /// </summary> /// <param name="getHelpFor"></param> public void LaunchHelpWindow(ModelSystemStructureModel getHelpFor = null) { var helpUI = new UserControls.Help.HelpDialog(EditorController.Runtime.Configuration); if (getHelpFor != null) { helpUI.SelectModuleContent(getHelpFor); } var document = AddNewWindow("Help", helpUI); document.IsSelected = true; Keyboard.Focus(helpUI); }