This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我是初学者 c# 开发人员,我在编码时遇到了一个奇怪的问题
公共新图像图像{
get { return base.Image; }
set
{
int w = Width *8/10 , h = 80 ;
Bitmap b = new Bitmap(value);
Bitmap bm = new Bitmap(b, w ,h);
base.Image = bm;
base.Text = w.ToString();
}
}