示例#1
0
 public void Initialize()
 {
     var node = new NDistServicesNode(_client, _serverListener) { TreeView = TreeView };
     node.TreeViewItem = new TreeViewItem { Header = TreeviewHelper.CreateHeader("Services", "/Images/services.png"), Tag = node };
     TreeViewItem.Items.Add(node.TreeViewItem);
     node.Initialize();
 }
示例#2
0
        public void Initialize()
        {
            var node = new NDistServicesNode(_client, _serverListener)
            {
                TreeView = TreeView
            };

            node.TreeViewItem = new TreeViewItem {
                Header = TreeviewHelper.CreateHeader("Services", "/Images/services.png"), Tag = node
            };
            TreeViewItem.Items.Add(node.TreeViewItem);
            node.Initialize();
        }