Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheriting from mmBrokenRulesForm
Message
 
À
29/01/2004 16:54:12
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00872073
Message ID:
00872145
Vues:
19
Nathan,

>I've seen this before when a form does not have a parameter-less constructor. I'm assuming that since VS can't provide any parameters at design time, the form can't be opened in the designer. mmBusinessForm only has one exposed constructor, and it takes a BizRule parameter. In my forms when I have constructors that take parameters, i keep one protected parameter-less constructor intact. That way it's still there for VS, but that constructor can't be called in code. I don't know if this is why I can't edit mmBrokenRulesForm-derived forms, but it's my guess.

Unfortunately, you're right...this is a VS .NET "issue", that can be fixed by adding a parameterless constructor to the base form. I've done so and this will appear in the next release of MM .NET. If you need this change sooner than later, let me know and I'll give you access to a pre-release version.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform