Пример #1
0
        private void ShowTreeDisks()
        {
            ComputerMenuItem comp = new ComputerMenuItem();
            //trvMenu.Items.Add(comp);
            Dictionary <string, DriveInfo> disks = DriveManager.GetDrives();

            foreach (var item in disks)
            {
                ShowTreeItems(item.Key);
            }
        }
Пример #2
0
 private void RefreshDrives()
 {
     Drives = DriveManager.GetDrives();
 }