Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a subclass of mmBusinessWebPage
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01276544
Message ID:
01276942
Vues:
19
>I create the new subclass for my web forms as above and now want to create a new web form based on my new subclass. Should I choose 'Add new Item' and choose the existing MM.Net Business web page and then just edit the partial class to be based on my new subclass as follows:
>
>
public class myNewWebPage : myBusinessWebPage
>{
>}
>
public partial class WebPage1 : myNewWebPage
{
}
The partial modifier has nothing to do with the inheritance from your custom class. It's for the Web Form designer.
Regards,

Fred Chateau
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform