Exemple #1
0
 private void btnFolders_Click(object sender, EventArgs e)
 {
     if (frmFolderList == null)
     {
         frmFolderList = new FRMFolderList(FilesList.GetDirectories());
         frmFolderList.FormClosed += new FormClosedEventHandler(frmFolderList_FormClosed);
         frmFolderList.ShowDialog();
     } else
         frmFolderList.BringToFront();
 }
Exemple #2
0
 private void frmFolderList_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmFolderList = null;
 }