Esempio n. 1
0
        internal bool RollbackPage()
        {
            var args = new WizardPageConfirmEventArgs(this);

            OnRollback(args);
            return(!args.Cancel);
        }
Esempio n. 2
0
        internal bool CommitPage()
        {
            var args = new WizardPageConfirmEventArgs(this);

            OnCommit(args);
            return(!args.Cancel);
        }
Esempio n. 3
0
 /// <summary>
 /// Invoked before going to the previous page.
 /// </summary>
 protected virtual void OnRollback(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = RollbackEvent;
     RaiseEvent(args);
 }
Esempio n. 4
0
 /// <summary>
 /// Invoked before going to the next page.
 /// </summary>
 protected virtual void OnCommit(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = CommitEvent;
     RaiseEvent(args);
 }
Esempio n. 5
0
 internal bool RollbackPage()
 {
     var args = new WizardPageConfirmEventArgs(this);
     OnRollback(args);
     return !args.Cancel;
 }
Esempio n. 6
0
 internal bool CommitPage()
 {
     var args = new WizardPageConfirmEventArgs(this);
     OnCommit(args);
     return !args.Cancel;
 }
Esempio n. 7
0
 /// <summary>
 /// Invoked before going to the previous page.
 /// </summary>
 protected virtual void OnRollback(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = RollbackEvent;
     RaiseEvent(args);
 }
Esempio n. 8
0
 /// <summary>
 /// Invoked before going to the next page.
 /// </summary>
 protected virtual void OnCommit(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = CommitEvent;
     RaiseEvent(args);
 }