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); } }
private void RefreshDrives() { Drives = DriveManager.GetDrives(); }