コード例 #1
0
ファイル: DebuggerPanel.cs プロジェクト: nadar71/Krea
 private void sendCommandBt_Click(object sender, EventArgs e)
 {
     if (this.InvokeRequired)
     {
         dsendCommandBt_Click d = new dsendCommandBt_Click(sendCommandBt_Click);
         object[] args = { sender, e };
         this.Invoke(d, args);
     }
     else
     {
         if (AcceptedEmulator != null)
         {
             if (AcceptedEmulator.IsConnected)
             {
                 if (!this.commandTxtBx.Text.Equals(""))
                 {
                     AcceptedEmulator.Send(this.commandTxtBx.Text + "\n");
                 }
             }
         }
     }
 }