i have included groupbox in gui i need to add list of items for example apple,mango,pineapple etc...
can any1 help me on this..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jul 5, 2012, 5:18 AM
If so, you first need to place a ListBox (listBox1 say) within the GroupBox in the VS designer and then add this code in (say) the Form_Load eventhandler:
string[] fruits = {"apple", "mango", "pineapple"};
listBox1.DataSource = fruits;
listBox1.SelectedIndex = 0;
Satyapriya NayakPosted Jul 5, 2012, 4:37 AM
Please refer the below links
http://www.c-sharpcorner.com/uploadfile/mahesh/groupbox-in-C-Sharp/
http://en.csharp-online.net/GroupBox
http://www.java2s.com/Code/CSharp/GUI-Windows-Form/GroupBox.htm
Thanks
Posted Jul 5, 2012, 4:25 AM
http://www.functionx.com/vcsharp/controls/groupbox.htm
http://msdn.microsoft.com/en-us/library/system.windows.forms.groupbox.aspx