C# Class PDFExport.PDFExportProgress

A "please wait" form for the PDFExport.
Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
CloseAsync ( ) : void

Closes an opened PDFExporterProgress form if it is opened.

ShowAsync ( Form parent ) : void

Shows the form asynchonously. To close it, call CloseAsync().

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LocalizeComponents ( ) : void

Displays the text for the current culture.

PDFExportProgress ( ) : System

Initializes a new PDFExportProgress form.

PDFExportProgress_Load ( object sender, EventArgs e ) : void

Called when the form loads. Initializes it.

Run ( Object center ) : void

Run-method of the display thread. Shows the form and waits for the end.

timer_Tick ( object sender, EventArgs e ) : void

Called when the timer ticks. So this method is called periodically and updates the animation.

Method Details

CloseAsync() public static method

Closes an opened PDFExporterProgress form if it is opened.
public static CloseAsync ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ShowAsync() public static method

Shows the form asynchonously. To close it, call CloseAsync().
public static ShowAsync ( Form parent ) : void
parent System.Windows.Forms.Form The parent form.
return void