Hello everybody,

In my form constructor, I create TreeView nodes like this:

TreeNode setupNode = new TreeNode("Setup");
setupNode.Tag = "";
setupNode.ImageIndex = 13;
setupNode.SelectedImageIndex = 13;
//admin node
TreeNode adminNode = new TreeNode("Administrator");
adminNode.Tag = "";
adminNode.ImageIndex = 1;
adminNode.SelectedImageIndex = 1;
I need to access adminNode from my FromLoad event. I have a method that takes TreeNode as argument and do something with that. I have to call the function from Load event and send this node and others as well to the method.

Any ideas ??