Пример #1
0
 private void btnTestLDapQuery_Click(object sender, EventArgs e)
 {
     try
     {
         this.HourGlass(true);
         frmActiveDirectoryObjectsList frm = new frmActiveDirectoryObjectsList();
         frm.Text = Globalization.MultilanguageResource.GetString("frmApplicationGroupsProperties_Msg20") + this.applicationGroup.Name;
         frm.searchResultCollection = this.applicationGroup.ExecuteLDAPQuery(this.txtLDapQuery.Text);
         frm.ShowDialog(this);
         this.HourGlass(false);
     }
     catch (Exception ex)
     {
         this.HourGlass(false);
         this.ShowError(ex.Message, Globalization.MultilanguageResource.GetString("frmApplicationGroupsProperties_Tit30"));
     }
 }
 private void btnTestLDapQuery_Click(object sender, EventArgs e)
 {
     try
     {
         this.HourGlass(true);
         frmActiveDirectoryObjectsList frm = new frmActiveDirectoryObjectsList();
         frm.Text = Globalization.MultilanguageResource.GetString("frmApplicationGroupsProperties_Msg20") + this.storeGroup.Name;
         frm.searchResultCollection = this.storeGroup.ExecuteLDAPQuery(this.txtLDapQuery.Text);
         frm.ShowDialog(this);
         this.HourGlass(false);
     }
     catch (Exception ex)
     {
         this.HourGlass(false);
         this.ShowError(ex.Message, Globalization.MultilanguageResource.GetString("frmApplicationGroupsProperties_Tit30"));
     }
 }