Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheriting from mmBrokenRulesForm
Message
From
29/01/2004 16:54:12
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Inheriting from mmBrokenRulesForm
Miscellaneous
Thread ID:
00872073
Message ID:
00872073
Views:
51
Has anyone tried to create a form class derived from mmBrokenRulesForm? I've got no problem setting up the inheritance, but I get errors trying to edit my derived form in VS. So, just for kicks I tried opening mmBrokenRulesForm and received similar errors.

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.

Has anyone else tried this? Did it work for you?

Thanks,

-Nate
Next
Reply
Map
View

Click here to load this message in the networking platform