D
Danny Tuppeny
Hi All,
I've created an empty class that inherits from ListView:
Class MyListView : System.Windows.Forms.ListView
{
}
My prooject builds fine, but when I try to drag this control onto a form, I
get an error saying it couldn't be loaded, and will be removed from the
toolbox! (to then be put back in while I build again).
If I drag a ListView on, and then modify the initializecomponent code, and
replace ListView with MyListView, and run the project, it works fine.
However, in VC#E, I get nice big error saying MyListView can't be found, and
to make sure I've added a reference to the assembly etc. etc.
I assume this is a bug in the IDE (since the app runs fine) - is there any
way I can work around it, so I can see the designer? :-\
I've created an empty class that inherits from ListView:
Class MyListView : System.Windows.Forms.ListView
{
}
My prooject builds fine, but when I try to drag this control onto a form, I
get an error saying it couldn't be loaded, and will be removed from the
toolbox! (to then be put back in while I build again).
If I drag a ListView on, and then modify the initializecomponent code, and
replace ListView with MyListView, and run the project, it works fine.
However, in VC#E, I get nice big error saying MyListView can't be found, and
to make sure I've added a reference to the assembly etc. etc.
I assume this is a bug in the IDE (since the app runs fine) - is there any
way I can work around it, so I can see the designer? :-\