void AddUndo(string Repo) { UAU.AddUndoPoint(Repo); UAU.ClearRepeat(); toolStripButton10.Text = "Undo-" + UAU.LastUndoRepo + "(" + UAU.UndoCount.ToString() + ")"; toolStripButton11.Text = "Repeat-" + UAU.LastRepeatRepo + "(" + UAU.RepeatCount.ToString() + ")"; }
public void AddUndoPoint(string Introduce) { Console.WriteLine("AddUndo:" + Introduce); Strack.AddUndoPoint(Introduce); if (UndoWorked != null) { UndoWorked(this); } }