以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助] 请问下全局代码中PAINT事件报错如何修改 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=174318) |
-- 作者:81538475 -- 发布时间:2022/1/10 23:44:00 -- [求助] 请问下全局代码中PAINT事件报错如何修改 Private Sub picturebox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint If vb_img Is Nothing Then Return End If e.Graphics.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic e.Graphics.ScaleTransform(img_sc, img_sc) e.Graphics.DrawImage(vb_img, img_x, img_y) End Sub 请问下这段该怎么修改一下呢
|
-- 作者:有点蓝 -- 发布时间:2022/1/11 8:27:00 -- 去掉 Handles Me.Paint |