示例#1
0
        void ctlToolbar_PopOut()
        {
            PopOut popOut = new PopOut();

            scriptEditorGrid.Children.Remove(scriptEditor);
            popOut.grid.Children.Add(scriptEditor);
            ctlToolbar.HidePopOutButton();
            popOut.ShowDialog();
            popOut.grid.Children.Remove(scriptEditor);
            scriptEditorGrid.Children.Add(scriptEditor);
            ctlToolbar.ShowPopOutButton();
        }
示例#2
0
 void ctlToolbar_PopOut()
 {
     PopOut popOut = new PopOut();
     scriptEditorGrid.Children.Remove(scriptEditor);
     popOut.grid.Children.Add(scriptEditor);
     ctlToolbar.HidePopOutButton();
     popOut.ShowDialog();
     popOut.grid.Children.Remove(scriptEditor);
     scriptEditorGrid.Children.Add(scriptEditor);
     ctlToolbar.ShowPopOutButton();
 }