コード例 #1
0
ファイル: WizardPage.cs プロジェクト: fedarovich/avalonwizard
        internal bool RollbackPage()
        {
            var args = new WizardPageConfirmEventArgs(this);

            OnRollback(args);
            return(!args.Cancel);
        }
コード例 #2
0
ファイル: WizardPage.cs プロジェクト: fedarovich/avalonwizard
        internal bool CommitPage()
        {
            var args = new WizardPageConfirmEventArgs(this);

            OnCommit(args);
            return(!args.Cancel);
        }
コード例 #3
0
ファイル: WizardPage.cs プロジェクト: fedarovich/avalonwizard
 /// <summary>
 /// Invoked before going to the previous page.
 /// </summary>
 protected virtual void OnRollback(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = RollbackEvent;
     RaiseEvent(args);
 }
コード例 #4
0
ファイル: WizardPage.cs プロジェクト: fedarovich/avalonwizard
 /// <summary>
 /// Invoked before going to the next page.
 /// </summary>
 protected virtual void OnCommit(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = CommitEvent;
     RaiseEvent(args);
 }
コード例 #5
0
ファイル: WizardPage.cs プロジェクト: NightmareX1337/lfs
 internal bool RollbackPage()
 {
     var args = new WizardPageConfirmEventArgs(this);
     OnRollback(args);
     return !args.Cancel;
 }
コード例 #6
0
ファイル: WizardPage.cs プロジェクト: NightmareX1337/lfs
 internal bool CommitPage()
 {
     var args = new WizardPageConfirmEventArgs(this);
     OnCommit(args);
     return !args.Cancel;
 }
コード例 #7
0
ファイル: WizardPage.cs プロジェクト: NightmareX1337/lfs
 /// <summary>
 /// Invoked before going to the previous page.
 /// </summary>
 protected virtual void OnRollback(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = RollbackEvent;
     RaiseEvent(args);
 }
コード例 #8
0
ファイル: WizardPage.cs プロジェクト: NightmareX1337/lfs
 /// <summary>
 /// Invoked before going to the next page.
 /// </summary>
 protected virtual void OnCommit(WizardPageConfirmEventArgs args)
 {
     args.RoutedEvent = CommitEvent;
     RaiseEvent(args);
 }