Mono.Addins.Gui.InstallMonitor.Cancel C# (CSharp) Method

Cancel() public method

public Cancel ( ) : void
return void
        public void Cancel()
        {
            canceled = true;
        }

Usage Example

Beispiel #1
0
 protected void OnCancel(object sender, EventArgs e)
 {
     if (installing)
     {
         if (Services.AskQuestion(Catalog.GetString("Are you sure you want to cancel the installation?")))
         {
             installMonitor.Cancel();
         }
     }
     else
     {
         Respond(ResponseType.Cancel);
     }
 }
All Usage Examples Of Mono.Addins.Gui.InstallMonitor::Cancel