void folder_Select(object sender, EventArgs e) { //on folder select open the details view Host.Cursor = Cursors.WaitCursor; DetailsPanel = new FileSystemPanel(); DetailsPanel.ShowSelectButton("Remove"); DetailsPanel.FolderSelected += DetailsPanel_FolderSelected; DetailsPanel.LoadItems(new DirectoryInfo(FoldersPanel.SelectedFolder.Path), true); DetailsPanel.ShowMaximized(); Host.Cursor = Cursors.Default; }
private void DoFileSave() { //Close file Menu if its open if (fileButtonPanel != null) { fileButtonPanel.Hide(); } //open the filesystem panel to select a folder to save to. lsbSave = new FileSystemPanel(); lsbSave.ShowSelectButton("Select"); lsbSave.LoadItems(null, false); lsbSave.FolderSelected += new EventHandler(lsbSave_FolderSelected); //lsbSave.Show(ShowTransition.FromBottom); Controls.Add(lsbSave); lsbSave.Bounds = new Rectangle(0, 0, Width, Height); }