ucOpacityImage.cs图片组件最新版本

ShowImage方法加强容错性检查。
C# Code:
public void ShowImage(bllBaseBusiness BLL)
{
if (BLL.DataBindRow == null)
{
this.Image = null;
}
else
{
if (BLL.IsApproved(BLL.DataBindRow))
this.Image = Globals.LoadImage("已审核.gif");
else
this.Image = Globals.LoadImage("未审核.gif");
}
this.RefreshImage();
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
public void ShowImage(bllBaseBusiness BLL)
{
if (BLL.DataBindRow == null)
{
this.Image = null;
}
else
{
if (BLL.IsApproved(BLL.DataBindRow))
this.Image = Globals.LoadImage("已审核.gif");
else
this.Image = Globals.LoadImage("未审核.gif");
}
this.RefreshImage();
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网