/// <summary> /// Initializes a new instance of the <see cref="ExtTreeNode"/> class. /// </summary> /// <param name="Text">The text.</param> /// <param name="imgNdx">The img NDX.</param> /// <param name="selectimgNdx">The selectimg NDX.</param> /// <param name="children">The children.</param> public ExtTreeNode(string Text, int imgNdx, int selectimgNdx, ExtTreeNode[] children) { this.Text = Text; this.ImageIndex = imgNdx; this.SelectedImageIndex = selectimgNdx; this.Nodes.AddRange(children); }
/// <summary> /// Initializes a new instance of the <see cref="ServerTreeNode"/> class. /// </summary> /// <param name="servername">The servername.</param> /// <param name="UID">The UID.</param> /// <param name="PWD">The PWD.</param> /// <param name="imgNdx">The img NDX.</param> /// <param name="selectimgNdx">The selectimg NDX.</param> /// <param name="children">The children.</param> public ServerTreeNode(string servername, string UID, string PWD, bool savePWD, int imgNdx, int selectimgNdx, ExtTreeNode[] children) { this.Name = servername; this.Text = servername; this.ImageIndex = imgNdx; this.SelectedImageIndex = selectimgNdx; this.Nodes.AddRange(children); _sType = SecurityType.Mixed; _uID = UID; _pwd = PWD; _connected = false; _savePWD = savePWD; }
/// <summary> /// Initializes a new instance of the <see cref="ExtTreeNode"/> class. /// </summary> /// <param name="Text">The text.</param> /// <param name="children">The children.</param> public ExtTreeNode(string Text, ExtTreeNode[] children) { this.Text = Text; this.Nodes.AddRange(children); }
/// <summary> /// Initializes a new instance of the <see cref="ServerTreeNode"/> class. /// </summary> /// <param name="servername">The servername.</param> /// <param name="imgNdx">The img NDX.</param> /// <param name="selectimgNdx">The selectimg NDX.</param> /// <param name="children">The children.</param> public ServerTreeNode(string servername, int imgNdx, int selectimgNdx, ExtTreeNode[] children) { this.Name = servername; this.Text = servername; this.ImageIndex = imgNdx; this.SelectedImageIndex = selectimgNdx; this.Nodes.AddRange(children); _sType = SecurityType.Integrated; _connected = false; _savePWD = false; }