public ConsoleBox() { InitializeComponent(); repo = new ScriptRepo(); PowerShellOutput = txtOutput; r.ThreadOptions = PSThreadOptions.UseCurrentThread; r.Open(); }
public TabConsoleControl() { InitializeComponent(); scrabl = new ScrablerCore(); rep = new ScriptRepo(Path.GetDirectoryName(Application.ExecutablePath)); tabControl1.TabPages.Clear(); // this.consoleBox1.Dispose(); this.toolStripNewTab_Click(null, null); }