Information générale
Catégorie:
Conception classe
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement