Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 /// <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);
 }