Home All Groups Group Topic Archive Search About

Call "Sub Main" in (WPF) XAML-Application?

Author
17 Nov 2006 11:51 AM
Horst Klein
I have installed Framework 3.0 and Visual Studio 2005 extensions for .NET
Framework 3.0 (WCF & WPF), November 2006 CTP.

If I make a new WindowsApplication the StartupObject is not set.
But the Application starts with Window1.xaml
If set the StartupObject to "Sub Main"
What more must I do that I can start the Application with the "Sub Main".

Or in other words, how can start my Application first with a Custom Methode
where I can define the Window-XAML to show?

Best regards
Horst

AddThis Social Bookmark Button