Application.UseWaitCursor 屬性

定義

取得或設定應用程式的所有開啟表單是否都要使用等待游標。

public:
 static property bool UseWaitCursor { bool get(); void set(bool value); };
public static bool UseWaitCursor { get; set; }
static member UseWaitCursor : bool with get, set
Public Shared Property UseWaitCursor As Boolean

屬性值

如果所有已開啟表單都使用等待游標,則為 true,否則為 false

備註

當這個屬性設定為 true 時, UseWaitCursor 應用程式中所有開啟表單的 屬性都會設定為 true 。 除非已在所有表單上設定此屬性,否則此呼叫不會傳回。 當您有長時間執行的作業,而且想要在所有應用程式表單中指出作業仍在處理時,請使用這個屬性。

適用於