Occurs before initializing the XafApplication class instance.
public event EventHandler<SetupEventArgs> SettingUp
Public Event SettingUp As EventHandler(Of SetupEventArgs)
The SettingUp event handler receives an argument of the DevExpress.ExpressApp.SetupEventArgs type.
This event is raised as a result of calling the XafApplication.Setup method. Handle this event to set custom settings for the XafApplication class instance. To do this, use the handler's SetupEventArgs.SetupParameters parameter. It provides access to the following: Controllers Manager, module list, connection string, XafApplication.ApplicationName, and XafApplication.ObjectSpaceProvider.
The WinApplication class instance is used in the Windows Forms application project, and the WebApplication class instance is in the ASP.NET Web application project. Both these classes are the XafApplication class descendants.