Beispiel #1
0
 public void UnoutlineChainOrLoop()
 {
     foreach (Action Undo in toUnoutline)
     {
         Undo?.Invoke();
     }
     toUnoutline.Clear();
 }
Beispiel #2
0
 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;
     }
 }
Beispiel #3
0
 public void ExecuteUndo()
 {
     Undo?.Invoke();
 }
 public void TriggerUndo(StateUndoEventArgs args) => Undo?.Invoke(args);
Beispiel #5
0
 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);
 }
Beispiel #9
0
 public void TriggerUndo() => Undo?.Invoke();