C# Class NanoByte.Common.Controls.AsyncWaitDialog

ファイルを表示 Open project: nano-byte/common

Public Methods

Method Description
AsyncWaitDialog ( [ title, [ icon = null ) : System

Creates a new asynchrnous waiting dialog.

Start ( ) : void

Starts a new message pump with this dialog in a new thread.

Stop ( ) : void

Closes the dialog and stops the separate message pump.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AsyncWaitDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
AsyncWaitDialog_Shown ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

Method Details

AsyncWaitDialog() public method

Creates a new asynchrnous waiting dialog.
public AsyncWaitDialog ( [ title, [ icon = null ) : System
title [ The title of th dialog to display.
icon [ The icon for the dialog to display in the task bar; can be null.
return System

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

Start() public method

Starts a new message pump with this dialog in a new thread.
public Start ( ) : void
return void

Stop() public method

Closes the dialog and stops the separate message pump.
public Stop ( ) : void
return void