void win_SubmitEvent(AlterUserGroup obj)
        {
            try
            {
                ErrType rst = _businessService.ModifyUserGroups(CurUserGroup, _loginID);
                if (rst.Err != ERR.SUCCESS)
                {
                    MessageBox.Show("修改用户分组失败:" + rst.ErrMsg);
                }
                else
                {
                    MessageBox.Show("修改用户分组成功");
                    obj.Close();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("修改用户分组失败:" + ex.Message);

            }
        }
 private void AlterUserGroupEx()
 {
     AlterUserGroup win = new AlterUserGroup() { DataContext = CurUserGroup };
     win.SubmitEvent += new Action<AlterUserGroup>(win_SubmitEvent);
     win.ShowDialog();
 }