How to create windows custom control in c#.net
-
Hi Any body help me to how to create a windows custom control(not usercontrol) having one combobox, label and button Like below [Lable]Connect [combobox]ServersList below one button Click to connect its urgent help me plz kesavan
NK7 wrote:
[Lable]Connect [combobox]ServersList below one button Click to connect
You can achieve this by creating one UserControl that receives several parameters. Once you have created a UserControl, and build the solution you will have your control in the toolbox. You can drag and drop it anywhere in you form. Another way is to create a new Windows Control Library Project, create all your user controls there and add the controls to the toolbox specifying the DLL file. You can also check this link hope it helps.
There are 10 kinds of people: those who understand binary and those who don't