How to show the corresponding nodes of a treeView in a listView? Is it simply by comparing the node->Text and the items->Text? And how to delete the corresponding item?
Or the way is complicated to find out that these 2 items are corresponding?
Anyway, what's the different between items and subitems? I still don't get it.
I tried to add a node to treeView in Form1 from a button on Form2. After several nodes were successful, I quit from the application and try to develop another part.
When I start the application again, the nodes are GONE. Why it can be like that and how to solve it?
Do you know how to set paper type/size before printing? I have to print the listView items on an A4 paper. Is it just simply print the items and subitems?
And how to use a print component? Do I need printDialog and printDocument only? Or is there anything else? If it possible, please give me the code sample of how to use the print component.
Thank you very much.