示例#1
0
        private void btnSearchInDomain_Click(object sender, EventArgs e)
        {
            domainGoups2.Initialize(txtDomain.Text);
            StaticAD.LoadDomain(txtDomain.Text);

            using (new WaitCursorHelper(this))
            {
                domainGoups2.Populate();
                //domainUsers1.Populate();
            }
        }
示例#2
0
 public void Initialize(String domainName)
 {
     StaticAD.LoadDomain(domainName);
     //_ADHelper = StaticAD.ADHelper;
 }