Back to Devexpress

WinApplication.Start() Method

expressappframework-devexpress-dot-expressapp-dot-win-dot-winapplication-e1387deb.md

latest5.7 KB
Original Source

WinApplication.Start() Method

Starts the Windows Forms application.

Namespace : DevExpress.ExpressApp.Win

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

NuGet Packages : DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public void Start()
vb
Public Sub Start

Remarks

The Start method is called in the Main method, after creating the WinApplication object and calling the XafApplication.Setup method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Start() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-how-to-create-and-setup-an-xtrareport-report-for-exporting-to-a-stream-in-a-non-xaf/CS/ExportReportDemoEF/ExportReportDemoEF.Win/Program.cs#L37

csharp
winApplication.Setup();
    winApplication.Start();
}

XAF-implement-custom-permission-role-and-user-objects/CS/SecuredExportExample.Win/Program.cs#L51

csharp
winApplication.Setup();
    winApplication.Start();
}

XAF_how-to-add-custom-buttons-actions-to-the-lookup-and-popup-windows/CS/WinSolution.Win/Program.cs#L30

csharp
_application.Setup();
    _application.Start();
} catch (Exception e) {

xaf-how-to-import-data-in-xaf/CS/WinWebSolution.Win/Program.cs#L30

csharp
winApplication.Setup();
    winApplication.Start();
} catch (Exception e) {

xaf-how-to-implement-a-custom-attribute-to-customize-the-application-model/CS/DXExample.Win/Program.cs#L29

csharp
winApplication.Setup();
    winApplication.Start();
} catch (Exception e) {

xaf-how-to-create-and-setup-an-xtrareport-report-for-exporting-to-a-stream-in-a-non-xaf/VB/ExportReportDemoEF/ExportReportDemoEF.Win/Program.vb#L41

vb
winApplication.Setup()
    winApplication.Start()
Catch e As Exception

XAF-implement-custom-permission-role-and-user-objects/VB/SecuredExportExample.Win.MiddleTierSecurityClient/Program.vb#L53

vb
winApplication.Setup()
winApplication.Start()
wcfSecuredClient.Dispose()

XAF_how-to-add-custom-buttons-actions-to-the-lookup-and-popup-windows/VB/WinSolution.Win/Program.vb#L29

vb
_application.Setup()
    _application.Start()
Catch e As Exception

xaf-how-to-import-data-in-xaf/VB/WinWebSolution.Win/Program.vb#L34

vb
winApplication.Setup()
    winApplication.Start()
Catch e As Exception

xaf-how-to-implement-a-custom-attribute-to-customize-the-application-model/VB/DXExample.Win/Program.vb#L32

vb
winApplication.Setup()
    winApplication.Start()
Catch e As Exception

See Also

Windows Forms Application Life Cycle

WinApplication Class

WinApplication Members

DevExpress.ExpressApp.Win Namespace