Exemplo n.º 1
0
        public void EditUserGroup()
        {
            if (CurrEditUserGroup.UserGroupID == 1)
            {
                Framework.Container.Instance.InteractionService.ShowMessageBox("无法编辑系统内置用户组!", Framework.Environment.PROGRAM_NAME, MessageBoxButtons.OK);
                return;
            }

            FormNewUserGroup FormNewUserGroup = new FormNewUserGroup(CurrEditUserGroup.UserGroupID, CurrEditUserGroup.UserGroupName, CurrEditUserGroup.UserGroupDescription, true);

            FormNewUserGroup.ShowDialog();
        }
Exemplo n.º 2
0
        public void AddUserGroup()
        {
            FormNewUserGroup FormNewUserGroup = new FormNewUserGroup(0, "新建用户组", "新建用户组");

            FormNewUserGroup.ShowDialog();
        }