示例#1
0
 private void MyProcOutputHandler(object sendingProcess, DataReceivedEventArgs outLine)
 {
     if (!String.IsNullOrEmpty(outLine.Data))
     {
         ProcOutput.AppendText(outLine.Data.ToString() + "\r\n");
         ProcOutput.SelectionStart = ProcOutput.Text.Length;
         ProcOutput.ScrollToCaret();
     }
 }
示例#2
0
 private void NotifyIcon_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == System.Windows.Forms.MouseButtons.Left)
     {
         this.Show();
         this.Activate();
         this.ShowInTaskbar = true;
         ProcOutput.ScrollToCaret();
     }
 }
示例#3
0
 private void NotifyIcon_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         Show();
         Activate();
         ShowInTaskbar = true;
         ProcOutput.ScrollToCaret();
     }
 }