示例#1
0
        private void InterProcOutputHandler(object sendingProcess, DataReceivedEventArgs outLine)
        {
            AppendTextInBox(ConsoleView.TextBox(), outLine.Data + Environment.NewLine);
            if (InterProc.HasExited)
            {
                setBottomBackColor("#68217a", "#812e96");

                /*if (InterProc.ExitCode == 0)
                 * {
                 *  // orage
                 *  // orage ffa500
                 *  setBottomBackColor("#68217a");
                 * }else
                 * {
                 *  setBottomBackColor("#68217a");
                 * }*/
            }
        }
示例#2
0
 private void ConsoleView_Load(object sender, EventArgs e)
 {
     cv            = this;
     staticTextBox = richTextBox1;
 }