G
Guest
I need to do the following but it doesn't compile
if(typeof(listBox1.Items[index]) == typeof(string)){
return;
}
typeof(listBox1.Items[index]) doesn't work at all. My listBox has 2 types of items in them and I need to know what kind of item a user clicked on so I can use it for drag and drop
if(typeof(listBox1.Items[index]) == typeof(string)){
return;
}
typeof(listBox1.Items[index]) doesn't work at all. My listBox has 2 types of items in them and I need to know what kind of item a user clicked on so I can use it for drag and drop