Example #1
0
 private void deleteTraceToolStripButton_Click(object sender, EventArgs e)
 {
     if (elem != null)
     {
         stv.UndoAdd();
         Trace o = traceListBox.SelectedItem as Trace;
         if (o != null)
         {
             elem.GetNode().RemoveTrace(o);
         }
         FireTraceModified();
     }
 }
Example #2
0
 private void SelectivelyAddUndo()
 {
     if (!alreadyChanged)
     {
         alreadyChanged = true;
         m_stv.UndoAdd();
     }
 }