To create an application to demonstrate the drag and drop operation. we need :
1. create a new VC# application.
2. Design the application form.
3. Add code to perform the drag and drop operation.
4. execetu the application and verify the output.
first, creating a new VC# application.
second, designing the application form .
we need 2 label, 1 textbox, 1 treeview and 1 listbox.
set the allow drop property of the listbox1 control to true.
add root and add child
click the ellipse button next to the node0 property of the treeview1 control to open the treeNode Editor dialog box.
and adding code to perform the drag-and-drop operation
and try to debug your application
please watching my video, and subscribe my channel, thanks
Read more »
1. create a new VC# application.
2. Design the application form.
3. Add code to perform the drag and drop operation.
4. execetu the application and verify the output.
first, creating a new VC# application.
second, designing the application form .
we need 2 label, 1 textbox, 1 treeview and 1 listbox.
add root and add child
click the ellipse button next to the node0 property of the treeview1 control to open the treeNode Editor dialog box.
and adding code to perform the drag-and-drop operation
and try to debug your application
please watching my video, and subscribe my channel, thanks