0
点赞
收藏
分享

微信扫一扫

c# winform 判断picturebox有无显示图片


if (pictureBox.Image != null)
{
	//有图片   
}
else
{
	//无图片   
}







if (pictureBox.ImageLocation!= null)
{
	//有图片路径
}
else
{
	//无图片路径
}




黑色头发:http://heisetoufa.iteye.com/


举报

相关推荐

0 条评论