Righthand mouse-click to a tree-view should act like a lefthand mouse-click
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a treeview in my application and a righthand click on a node should have the same behavior as a lefthand mouseclick. For the lefthand mouseclick I use the eventhandler
private void treeViewServer_AfterSelect(object sender, TreeViewEventArgs e) { // my code... }
The righthand click should call the same handler. But the eventhandler "click" of the treeviewprivate void treeViewServer_Click(object sender, EventArgs e) { // some code... }
provides not the TreeViewEventArgs of the "AfterSelect" Some ideas? Thanx in advance Erik