Exemple #1
0
 public SimpleNode(ObjectNode parent, string text, string tip, SimpleNodeKind nodeKind) : base(parent, text, 0, null)
 {
     if (text == null)
     {
         this.NodeKind = SimpleNodeKind.Metadata;
         this.Text     = "null";
     }
     else
     {
         this.Text     = text;
         this.NodeKind = nodeKind;
     }
     this.ToolTip = tip;
 }
 public SimpleNode(ObjectNode parent, string text, string tip, SimpleNodeKind nodeKind) : base(parent, text, 0, null)
 {
     if (text == null)
     {
         this.NodeKind = SimpleNodeKind.Metadata;
         this.Text = "null";
     }
     else
     {
         this.Text = text;
         this.NodeKind = nodeKind;
     }
     this.ToolTip = tip;
 }