Click here to Skip to main content
15,910,661 members
Home / Discussions / C#
   

C#

 
AnswerRe: ListBox Binding Problem. Pin
Luc Pattyn16-Apr-09 9:03
sitebuilderLuc Pattyn16-Apr-09 9:03 
GeneralRe: ListBox Binding Problem. Pin
Henry Minute16-Apr-09 9:06
Henry Minute16-Apr-09 9:06 
GeneralRe: ListBox Binding Problem. Pin
hdv21216-Apr-09 9:35
hdv21216-Apr-09 9:35 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn16-Apr-09 10:58
sitebuilderLuc Pattyn16-Apr-09 10:58 
GeneralRe: ListBox Binding Problem. Pin
Henry Minute16-Apr-09 11:05
Henry Minute16-Apr-09 11:05 
GeneralRe: ListBox Binding Problem. Pin
Henry Minute16-Apr-09 12:43
Henry Minute16-Apr-09 12:43 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn16-Apr-09 13:15
sitebuilderLuc Pattyn16-Apr-09 13:15 
GeneralRe: ListBox Binding Problem. Pin
Dave Kreskowiak17-Apr-09 4:23
mveDave Kreskowiak17-Apr-09 4:23 
OK, this one is really, really, wacked. I've never come acrossed a problem like this before, but then again, I try to avoid using just "Name" as a property of anything. I usually use a more descriptive identifier, like "FormName", but that's just me.

I don't know what his "FormsCollection" class looks like, but I got around the problem by using the above technique in a custom collection that holds an instance of each form and it's name as a seperate property, called, what else, FormName.

His code in his original post looked like it was just scanning the assembly for Form classes and creating an instance of each one, adding it to a collection for later use. That looks like a Dictionary to me.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn17-Apr-09 4:32
sitebuilderLuc Pattyn17-Apr-09 4:32 
GeneralRe: ListBox Binding Problem. [modified] Pin
Dave Kreskowiak17-Apr-09 4:44
mveDave Kreskowiak17-Apr-09 4:44 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn17-Apr-09 5:16
sitebuilderLuc Pattyn17-Apr-09 5:16 
GeneralRe: ListBox Binding Problem. Pin
Dave Kreskowiak17-Apr-09 7:37
mveDave Kreskowiak17-Apr-09 7:37 
QuestionAxMsComm objet created dinamically in C# Pin
blackhattrick16-Apr-09 7:42
blackhattrick16-Apr-09 7:42 
AnswerRe: AxMsComm objet created dinamically in C# Pin
Luc Pattyn16-Apr-09 8:26
sitebuilderLuc Pattyn16-Apr-09 8:26 
GeneralRe: AxMsComm objet created dinamically in C# Pin
blackhattrick16-Apr-09 8:48
blackhattrick16-Apr-09 8:48 
QuestionRunning embedded WSF Script Pin
Planker16-Apr-09 7:25
Planker16-Apr-09 7:25 
QuestionReturn file name in gridview and link to the file Pin
newbie1234567891016-Apr-09 5:56
newbie1234567891016-Apr-09 5:56 
AnswerRe: Return file name in gridview and link to the file Pin
buachaill cliste16-Apr-09 7:24
buachaill cliste16-Apr-09 7:24 
GeneralRe: Return file name in gridview and link to the file Pin
newbie1234567891016-Apr-09 9:58
newbie1234567891016-Apr-09 9:58 
GeneralRe: Return file name in gridview and link to the file Pin
buachaill cliste16-Apr-09 11:25
buachaill cliste16-Apr-09 11:25 
Questionmax() in XPath Pin
Siddharth Rastogi16-Apr-09 5:55
Siddharth Rastogi16-Apr-09 5:55 
QuestionGetting a PDF mouseclick event to C# Windows App Pin
Engineer Joe16-Apr-09 5:46
Engineer Joe16-Apr-09 5:46 
AnswerRe: Getting a PDF mouseclick event to C# Windows App [modified] Pin
buachaill cliste16-Apr-09 6:19
buachaill cliste16-Apr-09 6:19 
GeneralRe: Getting a PDF mouseclick event to C# Windows App Pin
Engineer Joe16-Apr-09 6:43
Engineer Joe16-Apr-09 6:43 
GeneralRe: Getting a PDF mouseclick event to C# Windows App Pin
buachaill cliste16-Apr-09 7:39
buachaill cliste16-Apr-09 7:39 

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.