Esempio n. 1
0
        private void scanActiveDirectoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImportFromAD activeDirectoryForm = new ImportFromAD();

            activeDirectoryForm.ShowDialog();
            this.UpdateFavoritesBindingSource();
        }
Esempio n. 2
0
 private void ScanActiveDirectoryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var activeDirectoryForm = new ImportFromAD(this.persistence, this.connectionManager))
     {
         activeDirectoryForm.ShowDialog();
         this.UpdateFavoritesBindingSource();
     }
 }