共用方式為


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。 此呼叫在所有表單中設定此屬性後不會回傳。 當你有一個長期執行的操作,並希望在所有應用程式表單中標示該操作仍在處理中時,請使用此屬性。

適用於