CmisSync.SetupController.SetupPageCancelled C# (CSharp) Method

SetupPageCancelled() public method

First-time wizard has been cancelled, so quit CmisSync.
public SetupPageCancelled ( ) : void
return void
        public void SetupPageCancelled()
        {
            Program.Controller.Quit();
        }

Usage Example

Esempio n. 1
0
 private void ShowWelcomePage()
 {
     Header       = Properties_Resources.Welcome;
     Description  = Properties_Resources.Intro;
     CancelButton = new NSButton()
     {
         Title = Properties_Resources.Cancel
     };
     ContinueButton = new NSButton()
     {
         Title   = Properties_Resources.Continue,
         Enabled = false
     };
     ContinueButton.Activated += delegate
     {
         Controller.SetupPageCompleted();
     };
     CancelButton.Activated += delegate
     {
         Controller.SetupPageCancelled();
     };
     Buttons.Add(ContinueButton);
     Buttons.Add(CancelButton);
     Controller.CheckSetupPage();
 }
All Usage Examples Of CmisSync.SetupController::SetupPageCancelled