Click here to Skip to main content
15,909,566 members
Home / Discussions / C#
   

C#

 
GeneralRe: DirectoryInfo on server Pin
Ravenet25-Feb-08 14:50
Ravenet25-Feb-08 14:50 
GeneralRe: DirectoryInfo on server Pin
marine8825-Feb-08 15:33
marine8825-Feb-08 15:33 
AnswerRe: DirectoryInfo on server Pin
dipak.dipak25-Feb-08 17:40
dipak.dipak25-Feb-08 17:40 
GeneralRe: DirectoryInfo on server Pin
marine8826-Feb-08 3:41
marine8826-Feb-08 3:41 
AnswerRe: DirectoryInfo on server Pin
dipak.dipak26-Feb-08 6:14
dipak.dipak26-Feb-08 6:14 
GeneralRe: DirectoryInfo on server Pin
marine8826-Feb-08 6:41
marine8826-Feb-08 6:41 
GeneralRe: DirectoryInfo on server Pin
marine8826-Feb-08 9:45
marine8826-Feb-08 9:45 
GeneralListBox and objects Pin
student_rhr25-Feb-08 11:29
student_rhr25-Feb-08 11:29 
I have an ArrayList populated with UserControl objects. I need to display this list on a windows form and when a user clicks on any of the items I need display the properties of the control.

I thought I could use ListBox control since we can populate it with the objects. But the problem is that when I populate the list box I dont get any text values. And if you click on the list box you can clearly see where the items were populated but no textual representation for it.
foreach(UserControl c in mb.UserControls)
{
     listBox1.Items.Add(c);
}

unless i do:
foreach(UserControl c in mb.UserControls)
{
     listBox1.Items.Add(c.ToString());
}


Its something really simple but for some reason I am not getting it. Would appreciate some help. Thanks.
GeneralRe: ListBox and objects Pin
led mike25-Feb-08 11:36
led mike25-Feb-08 11:36 
GeneralRe: ListBox and objects Pin
Not Active25-Feb-08 11:40
mentorNot Active25-Feb-08 11:40 
GeneralRe: ListBox and objects Pin
Luc Pattyn25-Feb-08 11:45
sitebuilderLuc Pattyn25-Feb-08 11:45 
GeneralRe: ListBox and objects Pin
student_rhr26-Feb-08 3:59
student_rhr26-Feb-08 3:59 
GeneralRe: ListBox and objects Pin
Luc Pattyn26-Feb-08 4:17
sitebuilderLuc Pattyn26-Feb-08 4:17 
QuestionCollision Help (XNA) : Please Help! Pin
MasterSharp25-Feb-08 11:17
MasterSharp25-Feb-08 11:17 
GeneralRe: Collision Help (XNA) : Please Help! Pin
Luc Pattyn25-Feb-08 11:38
sitebuilderLuc Pattyn25-Feb-08 11:38 
GeneralRe: Collision Help (XNA) : Please Help! Pin
MasterSharp25-Feb-08 11:58
MasterSharp25-Feb-08 11:58 
GeneralRe: Collision Help (XNA) : Please Help! Pin
Luc Pattyn25-Feb-08 12:02
sitebuilderLuc Pattyn25-Feb-08 12:02 
GeneralRe: Collision Help (XNA) : Please Help! Pin
MasterSharp25-Feb-08 12:19
MasterSharp25-Feb-08 12:19 
GeneralRe: Collision Help (XNA) : Please Help! Pin
Mark Churchill25-Feb-08 19:02
Mark Churchill25-Feb-08 19:02 
GeneralEncoding and the Streamreader Pin
KaptinKrunch25-Feb-08 10:18
KaptinKrunch25-Feb-08 10:18 
GeneralRe: Encoding and the Streamreader Pin
KaptinKrunch25-Feb-08 13:15
KaptinKrunch25-Feb-08 13:15 
GeneralRe: Encoding and the Streamreader Pin
Guffa25-Feb-08 14:17
Guffa25-Feb-08 14:17 
QuestionHow to get a file from a folder Pin
Exelioindia25-Feb-08 9:31
Exelioindia25-Feb-08 9:31 
AnswerRe: How to get a file from a folder Pin
pmarfleet25-Feb-08 9:37
pmarfleet25-Feb-08 9:37 
QuestionRe: How to get a file from a folder Pin
Exelioindia25-Feb-08 10:07
Exelioindia25-Feb-08 10:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.