Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in mmWizardForm
Message
 
To
26/04/2007 05:39:21
Walter Nicholls
Cornerstone Software Ltd
Auckland, New Zealand
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01217569
Message ID:
01220311
Views:
26
Walter!

>It's late (well, 9:30pm but I'm tired..) and I'm not feeling particularly good at stringing words together, so if I insult any of your code be sure I don't mean it... I think you may be planning on solving this one anyway

Not at all...we've already had the discussion that these classes haven't been documented yet because they weren't ready for the real world yet--they were used specifically for the Business Layer Generator, but we put them at a higher level in the MM .NET Windows Forms assembly so they could be reused at a future date.

>Are you going to derive mmWizardForm from mmBusinessBaseForm? Because if you are I'm going in and modding the 2.4 source code now! All the mmXYZ controls depend on GetParentBusinessBaseForm() working and on a wizard they don't!

We'll change the base class, but will use mmBusinessForm instead because it has a bit more "mojo".

>oh, and that bug with exactly two pages .. you might have noticed that there's a related bug with only one page (next is enabled, finish isn't). And then btnNext_click itself doesn't check that the WizardPages collection has enough items to advance to a next one, and crashes.

Got it!

Best 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