I created my own class:
In order to add a Type variable to the ListViewItem class that already existed.Code:Public Class M3ListViewItem Inherits System.Windows.Forms.ListViewItem Private mintType As Integer Public Property Type() as Integer... End Class
The problem is when I call the Clone method, I get a regular ListViewItem back and the Type property is reset to Zero. How can I get around this?
I tried overloading the Clone method, but I can't return a different type on an overloaded method...
Thanks,
Ben




Reply With Quote