Hi, on my program I have an interface iGraphable that contains two properties: Abscissa and Ordinate. Then I have an xxxx class (actually more than one) implementing iGraphable and a ListOfxxxx class implementing BindingListView(Of xxxx).
To draw graphs I have a Graph class with a property called Data whose type is BindingListView(of iGraphable).
Why have I a cast exception when I pass a BindingListView(Of xxxx) to the Data property.
Hope I was clear
To draw graphs I have a Graph class with a property called Data whose type is BindingListView(of iGraphable).
Why have I a cast exception when I pass a BindingListView(Of xxxx) to the Data property.
Hope I was clear