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(); } }
private void SelectivelyAddUndo() { if (!alreadyChanged) { alreadyChanged = true; m_stv.UndoAdd(); } }