예제 #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();
            }
        }