示例#1
0
        public override void OnClick()
        {
            //添加角色
            AddGroup frmGroup = new AddGroup(false);

            if (frmGroup.beSucceed)
            {
                frmGroup.ShowDialog();
            }
            if (this.WriteLog)
            {
                Plugin.LogTable.Writelog(Caption);//xisheng 2011.07.09 增加日志
            }
        }
示例#2
0
        public override void OnClick()
        {
            //修改角色
            //SysCommon.Authorize.Role mRole = new SysCommon.Authorize.Role();
            //mRole = ModuleData.m_Role;
            if (this.WriteLog)
            {
                Plugin.LogTable.Writelog(Caption);//xisheng 2011.07.09 增加日志
            }
            AddGroup frmGroup = new AddGroup(true);

            if (frmGroup.beSucceed)
            {
                frmGroup.ShowDialog();
            }
        }