public void UnoutlineChainOrLoop() { foreach (Action Undo in toUnoutline) { Undo?.Invoke(); } toUnoutline.Clear(); }
private void toolStripButton1_Click(object sender, EventArgs e) //back { IsButtonPressed = false; Undo?.Invoke(this, EventArgs.Empty); textBox1.SelectionStart = textBox1.Text.Length; toolStripButton2.Enabled = true; if (Capacity == 0) { toolStripButton1.Enabled = false; } }
public void ExecuteUndo() { Undo?.Invoke(); }
public void TriggerUndo(StateUndoEventArgs args) => Undo?.Invoke(args);
void OnUndo(UnitEventArgs <T> e) { Undo?.Invoke(this, e); }
public static void OnUndo(object sender, EventArgs e) { Undo?.Invoke(sender, e); }
public void OnUndo() { Undo?.Invoke(this, EventArgs.Empty); }
private void UndoBtn_OnClicked(object sender, EventArgs e) { Undo?.Invoke(this, EventArgs.Empty); }
public void TriggerUndo() => Undo?.Invoke();