private void AddBPButton_Click(object sender, EventArgs e) { if (BPCombo.Text.Trim() != "") { int newValue = knl_breakpoints.Add(BPCombo.Text.Trim().Replace(">", "")); if (newValue > -1) { BPCombo.Text = knl_breakpoints.Format(newValue.ToString("X")); UpdateDebugLines(newValue, true); BPLabel.Text = knl_breakpoints.Count.ToString() + " BP"; } } }