Execute NodeMouseClick no works
Execute NodeMouseClick no works
Into load_form
I want to run programmatically NodeMoseClick
event of Microsoft Tree View like:
load_form
NodeMoseClick
var selectedNode = tvProjectList.SelectedNode;
TreeNodeMouseClickEventArgs treeNodeMouseClickEventArgs = new TreeNodeMouseClickEventArgs(selectedNode, MouseButtons.Left, 1, 1, 1);
tvProjectList.Select();
tvProjectList.NodeMouseClick += tvProjectList_NodeMouseClick;
When I debug code and hits this line and I press continue it just don't execute method: tvProjectList_NodeMouseClick
.
tvProjectList_NodeMouseClick
Any idea why does this happen?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.