Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
i m new in windows application c#.
i want to add a multicoloum combobox on my form. how can i add that custom control..

pls help me
Posted
Comments
DavidKiryazi 29-Aug-10 7:12am    
sagar55, can I ask why anyone would ever need a multicolumn combobox?

Why not just format the text in a single column combobox in a way that allows it to appear as its multicolumn?

1. Create the Control. You may inherit ComboBox, UserControl, Control, Form or NativeWindow.
2. Add it too your Form. You may either select it from the toolbox, or add the logic in your Form's constructor.
 
Share this answer
 
If you're new to C#, you should learn to use the controls that exist before you consider writing your own control.
 
Share this answer
 
Assuming this an extenal dll the easiest way is:

Right click on the ToolBox and 'Choose Items'.
'Browse', find the dll and click OK.
Now you can drag and drop it from the ToolBox like any other control and your project references will be updated automatically.
 
Share this answer
 
if you are using visval studio then fist use toolbox and drag drop combobox cotrol.
 
Share this answer
 
Comments
Christian Graus 28-Aug-10 4:58am    
Reason for my vote of 1
A combo box does not do what he wants, therefore this answer is wrong.
Sandeep Mewara 28-Aug-10 5:23am    
Reason for my vote of 1
How does that help OP?
Toli Cuturicu 28-Aug-10 5:38am    
Reason for my vote of 1
wrong

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