protected virtual void OnRedoing(Aurigma.GraphicsMill.StateRestoringEventArgs e)
 {
     if (Redoing != null)
     {
         Redoing(this, e);
     }
 }
Exemple #2
0
        protected virtual void OnRedoing(Aurigma.GraphicsMill.StateRestoringEventArgs e)
        {
            if (e == null)
            {
                throw new System.ArgumentNullException("e");
            }

            if (Redoing != null)
            {
                Redoing(this, e);
            }

            if (e.Cancel)
            {
                throw new Aurigma.GraphicsMill.GMException("Aborted");
            }
        }
 private void RedoingEventHandler(object sender, Aurigma.GraphicsMill.StateRestoringEventArgs e)
 {
     OnRedoing(e);
 }