private void browseLeaf(Branch Parent) { _OPCBrowser.ShowLeafs(); if (_OPCBrowser.Count > 0) { for (int i = 1; i <= _OPCBrowser.Count; i++) { Leaf l = new Leaf(Parent: Parent, Name: _OPCBrowser.Item(i), ClientHandle: this.ClientHandle, Browser: this._OPCBrowser); } } }
public void addLeaf(Leaf l) { if (this._HasLeafs == false) this._HasLeafs = true; this._Leafs.Add(l); }