Exemple #1
0
        private void startBtn_Click(object sender, EventArgs e)
        {
            var args = new ConEmuStartArgs
            {
                runAs            = argRunAs.Checked,
                debug            = argDebug.Checked,
                log              = argLog.Checked,
                autoClose        = argAutoClose.Checked,
                useGuiMacro      = argUseGuiMacro.Checked,
                xmlFilePath      = argXmlFile.Text,
                conemuExePath    = argConEmuExe.Text,
                cmdLine          = argCmdLine.Text,
                startupDirectory = argDirectory.Text,
            };

            terminal = new ChildTerminal(this, args);
            terminal.ShowDialog(this);
        }
 internal ChildTerminal(TerminalStarter starter, ConEmuStartArgs args)
 {
     this.starter = starter;
     this.args    = args;
     InitializeComponent();
 }