Bitmap bm = new Bitmap(this.BackgroundImage, this.Width, this.Height); //绘制矩形,定义你需要截取的图像起始位置和宽高 Rectangle r = new Rectangle(this.gdbSchem.Location.X, Read More
posted @ 2016-08-20 14:43 songyulan Views(120) Comments(0) Diggs(0) Edit
#region 根据枚举名称获取值或反之 /// <summary> /// 根据枚举的名称,得到该枚中该名称对应的值 /// </summary> /// <param name="p_EnumVar">指定的枚举</param> /// <param name="p_Name">名称</para Read More
posted @ 2016-08-20 14:29 songyulan Views(123) Comments(0) Diggs(0) Edit