コード例 #1
0
        /// <summary>
        /// Load into treeview the unit drives at root of MiComputer.
        /// </summary>
        private void LoadDrives()
        {
            try
            {
                // get childs of root node
                var treeNodes = TreeNodeHelper.GetItemsAtRoot();

                this.treeViewFolderPick.Nodes.Clear();
                this.treeViewFolderPick.Nodes.AddRange(treeNodes.ToArray());
            }
            catch (Exception) { }
        }