Пример #1
0
 private void mnuAddToWatch_Click(object sender, EventArgs e)
 {
     if (lstLabels.SelectedIndices.Count > 0)
     {
         CodeLabel label = (CodeLabel)GetSelectedItem().SubItems[1].Tag;
         WatchManager.AddWatch("[" + label.Label + "]");
     }
 }
Пример #2
0
 private void AddWatch()
 {
     WatchManager.AddWatch(_newWatchValue);
 }
Пример #3
0
 private void mnuAddToWatch_Click(object sender, EventArgs e)
 {
     string[] toAdd = Enumerable.Range(SelectionStartAddress, SelectionEndAddress - SelectionStartAddress + 1).Select((num) => $"[${num.ToString("X4")}]").ToArray();
     WatchManager.AddWatch(toAdd);
 }