ApplicationContext コンストラクター

定義

ApplicationContext クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
ApplicationContext()

コンテキストを使用せず、 ApplicationContext クラスの新しいインスタンスを初期化します。

ApplicationContext(Form)

指定したApplicationContextを使用して、Form クラスの新しいインスタンスを初期化します。

ApplicationContext()

ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs

コンテキストを使用せず、 ApplicationContext クラスの新しいインスタンスを初期化します。

public:
 ApplicationContext();
public ApplicationContext();
Public Sub New ()

適用対象

ApplicationContext(Form)

ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs
ソース:
ApplicationContext.cs

指定したApplicationContextを使用して、Form クラスの新しいインスタンスを初期化します。

public:
 ApplicationContext(System::Windows::Forms::Form ^ mainForm);
public ApplicationContext(System.Windows.Forms.Form mainForm);
public ApplicationContext(System.Windows.Forms.Form? mainForm);
new System.Windows.Forms.ApplicationContext : System.Windows.Forms.Form -> System.Windows.Forms.ApplicationContext
Public Sub New (mainForm As Form)

パラメーター

mainForm
Form

コンテキストに使用するアプリケーションの主な Form

注釈

OnMainFormClosedがオーバーライドされない場合、スレッドのメッセージ ループは、MainFormが閉じられると終了します。

適用対象