예제 #1
0
        private void redo(object obj, EventArgs ea)
        {
            SchetsHistorie h = schetscontrol.Schets.Historie;

            if (h.PeekToekomst() != null)
            {
                h.BACK_TO_THE_FUTURE();
                schetscontrol.Invalidate();
            }
        }
예제 #2
0
        private void undo(object obj, EventArgs ea)
        {
            SchetsHistorie h = schetscontrol.Schets.Historie;

            if (!(h.Peek() is PlaatjeObject) && h.Peek() != null)
            {
                h.Undo();
                schetscontrol.Invalidate();
            }
        }
예제 #3
0
 public void Schoon()
 {
     Historie = new SchetsHistorie();
 }
예제 #4
0
 public void LaadHistorieUitString(string schetsBestand)
 {
     this.Historie = new SchetsHistorie(schetsBestand);
 }
예제 #5
0
 public Schets(Bitmap bmp)
 {
     this.Historie = new SchetsHistorie();
     this.Historie.Push(new PlaatjeObject(bmp));
     Initialiseer();
 }
예제 #6
0
 public Schets()
 {
     this.Historie = new SchetsHistorie();
     Initialiseer();
 }