Пример #1
0
 private void AddBPButton_Click(object sender, EventArgs e)
 {
     if (BPCombo.Text.Trim() != "")
     {
         int newValue = breakpoints.Add(BPCombo.Text.Trim().Replace(">", ""));
         if (newValue > -1)
         {
             BPCombo.Text = breakpoints.Format(newValue.ToString("X"));
             UpdateDebugLines(newValue, true);
             BPLabel.Text = breakpoints.Count.ToString() + " Breakpoints";
         }
     }
 }
Пример #2
0
 private void AddBPButton_Click(object sender, EventArgs e)
 {
     breakpoints.Add(BPCombo.Text);
     BPCombo.Text = breakpoints.Format(BPCombo.Text);
     RefreshBreakpoints();
 }