public BrowseFolderWindow() { InitializeComponent(); Utils.HideMinimizeAndMaximizeButtons(this); foreach (DriveInfo driveInfo in DriveInfo.GetDrives()) { FolderTree.Items.Add(CreateTreeItem(driveInfo)); } FolderTree.Focus(); }
public BrowseFolderWindow() { InitializeComponent(); Utils.HideMinimizeAndMaximizeButtons(this); renderTimer.Interval = new TimeSpan(0, 0, 0, 0, 20); renderTimer.Tick += RenderTimer_Tick; foreach (DriveInfo driveInfo in DriveInfo.GetDrives()) { FolderTree.Items.Add(CreateTreeItem(driveInfo)); } FolderTree.Focus(); }