Beispiel #1
0
 void openGcodeTerminalButton_Click(object sender, EventArgs mouseEvent)
 {
     UiThread.RunOnIdle((state) =>
     {
         TerminalWindow.Show();
     });
 }
Beispiel #2
0
        private void HandleTerminal()
        {
            var terminalWindow = new TerminalWindow {
                Owner = Application.Current.MainWindow
            };
            var terminalViewModel = new TerminalViewModel(_neighbor);

            terminalWindow.DataContext = terminalViewModel;
            terminalWindow.Show();
        }
    static void Init()
    {
        TerminalWindow tw = (TerminalWindow)EditorWindow.GetWindow(typeof(TerminalWindow));

        tw.Show();
    }