public static ControlProxy add_ControlProxy(this TreeNode treeNode, Process process) { if (treeNode.notNull() && process.notNull()) { var controlProxy = process.get_ControlProxy_for_MainWindowHandle(); if (controlProxy.notNull()) treeNode.add_Node(controlProxy); //treeNode.Tag = } return null; }