Answered by:
Custom Controls

Question
-
Can anyone recommend any good website for learning to build customs controls?Sunday, November 29, 2009 8:37 AM
Answers
-
Hi tmiller_15,
To my understanding, there are three basic techniques for creating custom Windows Forms controls in .NET, corresponding to three different starting points.
1. You can inherit from an existing control.
http://msdn.microsoft.com/en-us/library/ms996428.aspx
2. You can build a composite control (using the UserControl class as your starting point).
http://msdn.microsoft.com/en-us/library/ms996431.aspx
3. You can write a control from scratch (using Control class as your starting point).
http://msdn.microsoft.com/en-us/library/ms996439.aspx
These methods are in rough order of complexity, from simplest to most complex.
A very informative link about how to create Custom Windows Controls using vb.net.
http://msdn.microsoft.com/en-us/library/ms996443.aspx
Besides, a thread you can refer to
http://social.msdn.microsoft.com/Forums/en/vsclassdesigner/thread/53007a5b-019c-43db-a666-8cfc70b14f45/
Hope this helps
Regards
Jeff Shan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Proposed as answer by MaDFroG20091013 Wednesday, December 2, 2009 3:36 AM
- Marked as answer by Jeff Shan Friday, December 4, 2009 6:20 AM
Tuesday, December 1, 2009 8:49 AM -
Check this !
http://www.devcity.net/Articles/87/1/ssteps_customcontrol.aspx
www.shariqdon.media.officelive.com- Marked as answer by Jeff Shan Friday, December 4, 2009 6:21 AM
Sunday, November 29, 2009 12:01 PM
All replies
-
Check this !
http://www.devcity.net/Articles/87/1/ssteps_customcontrol.aspx
www.shariqdon.media.officelive.com- Marked as answer by Jeff Shan Friday, December 4, 2009 6:21 AM
Sunday, November 29, 2009 12:01 PM -
Hi tmiller_15,
To my understanding, there are three basic techniques for creating custom Windows Forms controls in .NET, corresponding to three different starting points.
1. You can inherit from an existing control.
http://msdn.microsoft.com/en-us/library/ms996428.aspx
2. You can build a composite control (using the UserControl class as your starting point).
http://msdn.microsoft.com/en-us/library/ms996431.aspx
3. You can write a control from scratch (using Control class as your starting point).
http://msdn.microsoft.com/en-us/library/ms996439.aspx
These methods are in rough order of complexity, from simplest to most complex.
A very informative link about how to create Custom Windows Controls using vb.net.
http://msdn.microsoft.com/en-us/library/ms996443.aspx
Besides, a thread you can refer to
http://social.msdn.microsoft.com/Forums/en/vsclassdesigner/thread/53007a5b-019c-43db-a666-8cfc70b14f45/
Hope this helps
Regards
Jeff Shan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Proposed as answer by MaDFroG20091013 Wednesday, December 2, 2009 3:36 AM
- Marked as answer by Jeff Shan Friday, December 4, 2009 6:20 AM
Tuesday, December 1, 2009 8:49 AM