Exemplo n.º 1
0
 private void addFolderButton_Click(object sender, EventArgs e)
 {
     using (FindProjectsDialog dialog = new FindProjectsDialog(_settings))
     {
         if (dialog.ShowDialog() == DialogResult.OK)
         {
             this.AddFilesToMru(dialog.FileNames);
         }
     }
 }
 private void addFolderButton_Click(object sender, EventArgs e)
 {
   using (FindProjectsDialog dialog = new FindProjectsDialog(_settings.Projects.ToArray()))
   {
     if (dialog.ShowDialog() == DialogResult.OK)
     {
       this.AddFilesToMru(dialog.FileNames);
     }
   }
 }