/// <summary> /// Tests the TreeView creation. /// </summary> public void TestCreateTreeView() { var tree = CreateTreeView(TreeRoot); var config = new List <int>() { 10, 4, 5, 5, }; tree.Nodes = TestTreeView.GenerateTreeNodes(config, isExpanded: true); }
/// <summary> /// Init. /// </summary> public void Refresh() { if (isInited) { return; } var config = new List <int>() { 5, 5, 2 }; nodes = TestTreeView.GenerateTreeNodes(config, isExpanded: true); // Set nodes Folders.Init(); Folders.Nodes = nodes; isInited = true; }