コード例 #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);
        }
コード例 #2
0
ファイル: TerminalForm.cs プロジェクト: sollo11/conemu-inside
 internal ChildTerminal(TerminalStarter starter, ConEmuStartArgs args)
 {
     this.starter = starter;
     this.args    = args;
     InitializeComponent();
 }