hi, hope everyone's well despite that worldwide turmiol
I'm using VSE 10, c#, WinForms
in my project I have
interface IListView
class MyListViewBase : ListView, IListView
class MyListViewOne : MyListViewBase
class MyListViewTwo : MyListViewBase
IListView MyListView = new MyListViewOne();
I have an issue with
MyListView = (IListView)GlobalListView;
GlobalListView is made with the designer as type ListView but not in the same Application
Everything compiles well but at run-time I get the above mentioned exception.
my guess is it must me done thru the interface but honestly said I don't have the slightest
idea how MyListView could reference another ListView object
What am I missing here ? any help apreciated. I'd be especially thankful for a hint to literature
or tutorial.
thanks in advance
franz
I'm using VSE 10, c#, WinForms
in my project I have
interface IListView
class MyListViewBase : ListView, IListView
class MyListViewOne : MyListViewBase
class MyListViewTwo : MyListViewBase
IListView MyListView = new MyListViewOne();
I have an issue with
MyListView = (IListView)GlobalListView;
GlobalListView is made with the designer as type ListView but not in the same Application
Everything compiles well but at run-time I get the above mentioned exception.
my guess is it must me done thru the interface but honestly said I don't have the slightest
idea how MyListView could reference another ListView object
What am I missing here ? any help apreciated. I'd be especially thankful for a hint to literature
or tutorial.
thanks in advance
franz