SetImage() public method

public SetImage ( ) : void
return void
Ejemplo n.º 1
0
 public JSONObject AddNode()
 {
     JSONObject child = new JSONObject();
     child.Parent = this;
     child.ValueType = JSONType.Object;
     this.ChildObjects.Add(child);
     if (NodeMenu != null) { child.NodeMenu = NodeMenu; child.TreeNode.ContextMenuStrip = NodeMenu; }
     child.SetImage();
     this.TreeNode.Nodes.Add(child.TreeNode);
     this.TreeNode.Expand();
     this.SetImage();
     return child;
 }