private void buttonBrowseGroup_Click(object sender, EventArgs e) { try { using (FormActiveDirectoryGroupNew frm = new FormActiveDirectoryGroupNew()) { frm.ModuleReference = BTSS.Common.Core.ModuleReference.Tools; frm.Domain = userControlDomainMemberofGroup.Text; if (frm.ShowDialog() == DialogResult.OK) { textBoxMembersSpecifiedGroup.Text = frm.Name; } } } catch (Exception) { throw; } }
private void activeDirectoryToolStripMenuItem1_Click(object sender, EventArgs e) { try { using (FormActiveDirectoryGroupNew frm = new FormActiveDirectoryGroupNew()) { frm.Domain = "prd.manulifeusa.com,MLIDDOMAIN1"; frm.ModuleReference = Core.ModuleReference.Setting; frm.ShowDialog(); } } catch (Exception) { throw; } }