C# Class GUIUtils.LongOperations.BaseLongOperation

The base class used to handle long operations
Inheritance: Utils.ProgressHandler
Exibir arquivo Open project: ERTMSSolutions/ERTMSFormalSpecs

Public Methods

Method Description
ExecuteUsingProgressDialog ( Form mainForm, string message, bool allowCancel = true ) : void

Executes the operation in background using a progress handler

Protected Methods

Method Description
BaseLongOperation ( ) : System

Constructor

Method Details

BaseLongOperation() protected method

Constructor
protected BaseLongOperation ( ) : System
return System

ExecuteUsingProgressDialog() public method

Executes the operation in background using a progress handler
public ExecuteUsingProgressDialog ( Form mainForm, string message, bool allowCancel = true ) : void
mainForm System.Windows.Forms.Form The enclosing form
message string The message to display on the dialog window
allowCancel bool Indicates that the opeation can be canceled
return void