Exemplo n.º 1
0
 public ConsoleBox()
 {
     InitializeComponent();
     repo             = new ScriptRepo();
     PowerShellOutput = txtOutput;
     r.ThreadOptions  = PSThreadOptions.UseCurrentThread;
     r.Open();
 }
Exemplo n.º 2
0
        public TabConsoleControl()
        {
            InitializeComponent();
            scrabl = new ScrablerCore();
            rep    = new ScriptRepo(Path.GetDirectoryName(Application.ExecutablePath));
            tabControl1.TabPages.Clear();

            // this.consoleBox1.Dispose();
            this.toolStripNewTab_Click(null, null);
        }