コード例 #1
0
        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;
        }
コード例 #2
0
 void btnUpload_Click(object sender, EventArgs e)
 {
     //Close file Menu if its open
     if (fileButtonPanel != null)
     {
         fileButtonPanel.Hide();
     }
     //Upload a File
     lsbUpload = new FileSystemPanel();
     lsbUpload.LoadItems(null, true);
     lsbUpload.FileSelected += new EventHandler(lsbUpload_SelectedFile);
     //lsbUpload.Show(ShowTransition.FromBottom);
     Controls.Add(lsbUpload);
     lsbUpload.Bounds = new Rectangle(0, 0, Width, Height);
 }
コード例 #3
0
 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);
 }
コード例 #4
0
ファイル: Form1.cs プロジェクト: Radytz/DroppedBoxx
        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;
        }