C# Class OpenTween.FormInfo

タスクサービス機能付きプログレスバー
重要:BackGroundWorkerコンポーネントが実際のタスクサービスを行うため、DoWorkでコントロールを触ることはできない。 また、Twitterへの通信を必要とする場合は引数にTwitterInstanceを含めそれを使用すること。 1.class生成 2.コンストラクタの引数としてサービス登録(Dowork RunWorkerCompletedも同様 使用しない場合null) 3.Instance.Argumentへ,あるいはコンストラクタ引数へ引数セット 4.Instance.InfoMessage、またはコンストラクタ引数へ表示メッセージ設定 5.Instance.ShowDialog()により表示 6. 必要な場合はInstance.Result(=Servicerのe.Result)を参照し戻り値を得る 7.Dispose タスクサービスが正常終了した場合は自分自身をCloseするので最後にDisposeすること。
Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: rhenium/OpenTween Class Usage Examples

Public Methods

Method Description
FormInfo ( Form owner, string Message, DoWorkEventHandler DoWork ) : System
FormInfo ( Form owner, string Message, DoWorkEventHandler DoWork, RunWorkerCompletedEventHandler RunWorkerCompleted ) : System
FormInfo ( Form owner, string Message, DoWorkEventHandler DoWork, RunWorkerCompletedEventHandler RunWorkerCompleted, object Argument ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
FormInfo_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
FormInfo_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.

LabelInformation_TextChanged ( object sender, EventArgs e ) : void
doInitialize ( Form owner, string Message, DoWorkEventHandler DoWork, RunWorkerCompletedEventHandler RunWorkerCompleted, object Argument ) : void

Method Details

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

FormInfo() public method

public FormInfo ( Form owner, string Message, DoWorkEventHandler DoWork ) : System
owner System.Windows.Forms.Form
Message string
DoWork DoWorkEventHandler
return System

FormInfo() public method

public FormInfo ( Form owner, string Message, DoWorkEventHandler DoWork, RunWorkerCompletedEventHandler RunWorkerCompleted ) : System
owner System.Windows.Forms.Form
Message string
DoWork DoWorkEventHandler
RunWorkerCompleted RunWorkerCompletedEventHandler
return System

FormInfo() public method

public FormInfo ( Form owner, string Message, DoWorkEventHandler DoWork, RunWorkerCompletedEventHandler RunWorkerCompleted, object Argument ) : System
owner System.Windows.Forms.Form
Message string
DoWork DoWorkEventHandler
RunWorkerCompleted RunWorkerCompletedEventHandler
Argument object
return System