在窗体中屏蔽功能按钮

C# Code:
public override bool ButtonAuthorized(int authorityValue)
{
if (authorityValue == ButtonAuthority.EDIT)//屏蔽编辑按钮
return false;
else
return base.ButtonAuthorized(authorityValue);
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
public override bool ButtonAuthorized(int authorityValue)
{
if (authorityValue == ButtonAuthority.EDIT)//屏蔽编辑按钮
return false;
else
return base.ButtonAuthorized(authorityValue);
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898

扫一扫加作者微信


版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网