摘要:
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); Graphics g = Graphics.FromImage(bitmap); g.CopyFromScreen(new Po... 阅读全文
posted @ 2019-03-07 15:52
翻白眼的哈士奇
阅读(356)
评论(0)
推荐(0)
摘要:
private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; g.SmoothingMode = SmoothingMode.HighQuality;//去掉锯齿 g.CompositingQual... 阅读全文
posted @ 2019-03-07 15:41
翻白眼的哈士奇
阅读(2107)
评论(0)
推荐(1)
摘要:
在程序窗口上使用鼠标画图 阅读全文
posted @ 2019-03-07 15:39
翻白眼的哈士奇
阅读(849)
评论(0)
推荐(1)
摘要:
1获取画布 (1)从PaintEventArgs类中获取画布 (2)从Image中获取画布 (3)使用CreateGraphics创建画布 (4)其他方式 从设备上下文的指定句柄创建新的 System.Drawing.Graphics public static Graphics FromHdc(I 阅读全文
posted @ 2019-03-07 15:35
翻白眼的哈士奇
阅读(899)
评论(0)
推荐(0)

浙公网安备 33010602011771号