Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance for application class
Message
From
23/12/2005 09:08:22
 
 
To
23/12/2005 04:50:33
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01079712
Message ID:
01080477
Views:
10
Hi,
>
Ok, this approach is interesting. I finally found what you meant by Sub Main(). However, in order to be able to do this, I have to disable the application framework in the project property. Doing this, I loose my XP style on the form.
>

Haven't used VB much in 2005 but I believe you can use the Application.UseVisualStyles property for that. I assume that all of the options there have equivalent properties/methods in the app class.

>
Also, a Sub cannot inherits from my application framework. So, I am back to square one.
>
Take a closer look at the C# example. Main() creates an instance of your sub-classed WindowsFormsApplicationBase.

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform