示例#1
0
 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;
     }
 }
示例#2
0
文件: FormMain.cs 项目: m12k/Files
 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;
     }
 }