0
有沒有辦法在選擇lineShape時去除LineShape陰影效果?一種刪除選定的LineShape陰影效果的方法?
alt text http://lh4.ggpht.com/_1TPOP7DzY1E/S6kq2KQ-zdI/AAAAAAAADIg/tUy74j-EpQc/s800/capture4.png
我試圖
Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
g.SmoothingMode = SmoothingMode.AntiAlias
Dim oldmode As SmoothingMode = g.SmoothingMode
g.DrawLine(_Pen, X1, Y1, X2, Y2)
g.SmoothingMode = oldmode
End Sub
但最後,這對失效一些回來效果:(在面板中)線留下痕跡移動時 - 不正確無效。