Gets or sets whether controls and common dialogs will be created in the main application thread.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
public static bool RunInMainFormThread { get; set; } |
Remarks
If trueTruetruetrue (True in Visual Basic), the control is created using Invoke(Delegate).
This could case a deadlock when the main application form is waiting on the thread which called this method.