Skip to main content
.NET Framework 4.6.2+

WinApplication.RunSetupInNewThread Property

Manages startup. Refer to the WinApplication.Setup method runs in a separate thread breaking change description for more information.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v24.2.dll

Declaration

[Browsable(false)]
[DefaultValue(true)]
public bool RunSetupInNewThread { get; set; }

Property Value

Type Default Description
Boolean true

true, if the Logon and Main windows are created in the main thread, while the Setup() method runs in a separate thread; false if the Setup method runs in the main thread.

Remarks

Applications create startup templates in the main thread, and run the Setup() method in a new thread. This feature reduces application startup time.

You can set the RunSetupInNewThread property to false if you do not need to create any windows - for example, in tests or if you use a custom DBUpdater tool.

See Also