Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmMaintenanceForm
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00906789
Message ID:
00907339
Views:
12
Simon,

>Well hold on. This form is inherited from a named parent. Are you telling me that even though I have created the child form from the parent I still have to add the namespaces to the child?

Right...VS .NET doesn't assume that you want your child class to belong to the same namespace as the parent...if you think about it, when you create a subclass of OakLeaf.MM.Main.Windows.Forms.mmMaintenanceForm, you wouldn't want your subclassed form to have the same namespace as mmMaintenanceForm.

>I had another issue when trying to do this in that I put comment placeholders in the parent form, but when I created a child from it, the comments were not visible.

Hmmm...are you saying that you put comments in the parent form's source code and were expecting them to appear in the subclassed form's source code? If so, that's not going to happen (in fact, it doesn't work that way in VFP either).

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
Previous
Reply
Map
View

Click here to load this message in the networking platform