示例#1
0
 private void ShowFolder(TaskFolder folder)
 {
     if (folderPanel == null)
     {
         folderPanel = new FolderPanel();
         splitContainer1.Panel2.Controls.Add(folderPanel);
         folderPanel.Dock = DockStyle.Fill;
     }
     folderPanel.Tasks = folder.Tasks;
     ShowPanel(folderPanel);
 }
 private void ShowFolder(TaskFolder folder)
 {
     if (folderPanel == null)
     {
         folderPanel = new FolderPanel();
         splitContainer1.Panel2.Controls.Add(folderPanel);
         folderPanel.Dock = DockStyle.Fill;
     }
     folderPanel.Tasks = folder.Tasks;
     ShowPanel(folderPanel);
 }