Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extending the Users Form
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01156623
Message ID:
01156647
Views:
14
This message has been marked as the solution to the initial question of the thread.
Mat,

>I want to subclass the framework's Users Form and add a 4th Tab for Settings. There will some settings and preferences that can be set by User for my application. I would like to add some additional fields to the Users table and then when the user logs in, I can read these settings and adjust for each user.
>
>My question is what is the best way to do this? I have subclassed the mmUsersForm and added a new tab. I then added several controls to this tab, but how do i extend the mmUser bizobj and tell my form to use it. Any help is appreciated.

Just create a subclass of mmUser, extend it as needed, then override the CreateUserObject() method in your application's Factory.cs file. For example:
public override mmUser CreateUserObject()
{
	return myUserObject();
}
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
Next
Reply
Map
View

Click here to load this message in the networking platform