I have a single class called MyClass which is inheriting from ListView…so basically it is a list view and I can use it on a form,etc..I have overriden drag and drop events for this class so now if I put two of these controls on a form and drag items from one to the other, it will do it fine.
My problem is with DoubleClick, How can I implement DoubleClick() on this class? so when later I put two of these controls on a form and double click on a item on one of them, it will move it to the other control… Is it even possible?
I have a single class called MyClass which is inheriting from ListView…so basically it
Share
I was curious how this could be achieved so I tried it. I created a new windows forms project and created a myClass:ListView(see code below) Then I added two if the Controls to the Form, and tied them together using the sister property (which I did not really write up as a property)
I added 1 item to myClass1 and 2 Items to myClass2. When I double click on anyof them, they move to the other listview.