摘要: 1 [TemplatePart(Name = "PART_Highlight", Type = typeof(Image))] 2 public class ImageControl : Control 3 { 4 Image HighLightImage = null; 5 6 public bo 阅读全文
posted @ 2022-04-01 16:56 HotSky 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1 public static byte[] ToArray(this Bitmap bitmap) 2 { 3 var lockbits = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height), ImageLockMod 阅读全文
posted @ 2022-04-01 16:53 HotSky 阅读(165) 评论(0) 推荐(0) 编辑