示例#1
0
 private void button9_Click(object sender, EventArgs e)
 {
     if (this.InvokeRequired)
     {
         dbutton9_Click d    = new dbutton9_Click(button9_Click);
         object[]       args = { sender, e };
         this.Invoke(d, args);
     }
     else
     {
         if (AcceptedEmulator != null)
         {
             if (AcceptedEmulator.IsConnected)
             {
                 for (int i = 0; i < BreakPoints.Count; i++)
                 {
                     commandtb.AppendText("\nBreackpoint on file " + BreakPoints[i].File + " on line " + BreakPoints[i].LineNumber + "\n");
                 }
             }
         }
     }
 }
示例#2
0
        private void button9_Click(object sender, EventArgs e)
        {
            if (this.InvokeRequired)
            {
                dbutton9_Click d = new dbutton9_Click(button9_Click);
                object[] args = { sender, e };
                this.Invoke(d, args);
            }
            else
            {
                if (AcceptedEmulator != null)
                {
                    if (AcceptedEmulator.IsConnected)
                    {

                        for (int i = 0; i < BreakPoints.Count; i++)
                        {
                            commandtb.AppendText("\nBreackpoint on file " + BreakPoints[i].File + " on line " + BreakPoints[i].LineNumber + "\n");
                        }

                    }
                }
            }
        }