Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to make a class, derived from System.Windows.Forms.Control appears under the form at design time, just like the the timer
Posted

Does this[^] help? Looks like you have to inherit from System.ComponentModel.Component.
 
Share this answer
 
v2
Comments
Abou taleb 27-May-11 12:38pm    
THANKS A LOT, problem solved
Marc A. Brown 27-May-11 12:59pm    
You're quite welcome. Don't forget to accept the answer(s) that helped you solve the problem! :)
Sander Rossel 27-May-11 14:22pm    
That's the way to go. Also check my solution for some good MSDN articles on how to make your own Component. My 5 for the answer.
You need to write your own user control - for a beginner tutorial on this, see http://msdn.microsoft.com/en-us/library/a6h7e207%28v=vs.71%29.aspx[^].
 
Share this answer
 
As Marc A. Brown said, you need to inherit from System.ComponentModel.Component. Here are some good MSDN tutorials on what you can do[^]! Good luck :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900