index
>
Windows Forms General
> Check listbox item type
Check listbox item type
How do I check the type of a list box item, i.e.
if (listbox.Item[2] == ThisClass)
{}
else if (listbox.Item[2] == ThatClass)
{}
Moved by
TaylorMichaelL
MVP
Tuesday, September 22, 2009 2:14 PM
WinForms related (From:Visual C# General)
w1z8yte Tuesday, September 22, 2009 1:50 PM
if (listbox[2] is ThisClass)
{
}
else if (listBox[2] is ThatClass)
{
}
Coding Light - Illuminated Ideas and Algorithms in Software
Coding Light Wiki
�
LinkedIn
�
ForumsBrowser
Marked As Answer by
w1z8yte
Tuesday, September 22, 2009 2:05 PM
David M Morton Tuesday, September 22, 2009 2:05 PM
if (listbox[2] is ThisClass)
{
}
else if (listBox[2] is ThatClass)
{
}
Coding Light - Illuminated Ideas and Algorithms in Software
Coding Light Wiki
�
LinkedIn
�
ForumsBrowser
Marked As Answer by
w1z8yte
Tuesday, September 22, 2009 2:05 PM
David M Morton Tuesday, September 22, 2009 2:05 PM
Cheers David.
w1z8yte Tuesday, September 22, 2009 2:05 PM
You can use google to search for other answers
Custom Search
More Threads
listview
How to change disable color of a combobox
FileInfo
DialogResult
Convverting from VS2005 to VS2008
Icons Curruption
Programmatically adding controls to Panels
Object display in PropertyGrid
KeyDown is firing twice
Visual .net 2003 heretic
Home
Copyright 2009-2010 by windowsdevelop.com All rights reserved