Beispiel #1
0
 private void DeleteBPButton_Click(object sender, EventArgs e)
 {
     if (BPCombo.Text != "")
     {
         knl_breakpoints.Remove(BPCombo.Text);
         UpdateDebugLines(knl_breakpoints.GetIntFromHex(BPCombo.Text), false);
         BPCombo.Items.Remove(BPCombo.Text);
     }
     if (knl_breakpoints.Count == 0)
     {
         BPCombo.Text = "";
     }
     else
     {
         BPCombo.Text = knl_breakpoints.Values[0];
     }
     BPLabel.Text = knl_breakpoints.Count.ToString() + " BP";
 }