private void btnSearchInDomain_Click(object sender, EventArgs e) { domainGoups2.Initialize(txtDomain.Text); StaticAD.LoadDomain(txtDomain.Text); using (new WaitCursorHelper(this)) { domainGoups2.Populate(); //domainUsers1.Populate(); } }
public void Initialize(String domainName) { StaticAD.LoadDomain(domainName); //_ADHelper = StaticAD.ADHelper; }