예제 #1
0
 private void reInit()
 {
     this.pfHelper = new PasswordFilterHelper();
     this.DCList.Clear();
     if (this.pfHelper.updateDomainData())
     {
         foreach (DomainController dom in pfHelper.AllDomainControllers)
         {
             this.DCList.Add(dom.Name);
         }
         FrameworkElement dataContext = (FrameworkElement)this.DataContext;
         this.DataContext = null;
         this.DataContext = dataContext;
     }
 }