TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ben Paul MBCS
NA
3
0
Custom Form Class / Adding Generic Functionality?
Oct 25 2009 5:13 AM
Hi All,
I am a developer who has been primarily developing financial software with Microsoft Visual FoxPro 9, I am just talking my initial steps into C# Windows Forms Development and seem to be getting on quite well, however there are just a few things still confusing me.
I am used to developing software professionally using a company 'Framework' that removes the need for many of the tasks that I am finding 'time consuming' within C# and Visual Studio.
For example, I would like the ability to create a 'Customised Form Class', this class would be the base class for all forms that are included within my application, I could then write all of the generic methods and properties that each form should include, im just talking methods that enable / disable each control on a page and properties that set the 'Enabled' / 'Disabled' state of the form (Assignable from an MDIParent?)
Is this possible? Im used to using FoxPro that enables me to base a new form on a customised 'Form' class.
I have read that C# will allow you to inherit only one class in a heiarchy, if this is the case, how would you add generic functionality to each form? Your help would be hugely appreciated.
Thanks
Reply
Answers (
3
)
UML - aggregation and association practical difference
project design advice