For Programmers: Free Programming Magazines  


Home > Archive > C# > April 2004 > Custom Control Design Time Property Options









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Custom Control Design Time Property Options
Dave

2004-04-27, 4:58 pm

I'm creating a composite control using Visual C#. I want to create a
property for the control that will have only 3 options (txt, xml,
connection). When the control is used and the property is clicked in
the design time the user of the control is presented with a combo box
in the properties window with these 3 options. I need someone to send
me a couple of simple code snippets illustrating how to do this. If
you can send a reference to a book that details how to this it would
also be appreciated.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com