Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一点疑问,如何从任何按钮模拟 TreeView NodeMouseClick 事件?
我试过这个:
TRV_Lista_NodeMouseClick(sender, (TreeNodeMouseClickEventArgs) e);
但不起作用。任何想法 ?提前致谢!
编辑:
最后我得到了它。调用 TRV_Lista_NodeMouseClick(sender, null) 并在方法中控制 if (e != null)。