Occurs after the XafApplication class instace has been initialized.
The SetupComplete event handler receives an argument of the EventArgs type.
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.
When the SetupComplete event is triggered, the Application Model's end-user customizations layer is not yet created from the Model.User.xafml file. So, if you need to access the Application Model in its final state, including customizations that a user might have created, handle the XafApplication.LoggedOn event instead.