精華區beta Visual_Basic 關於我們 聯絡資訊
'構築Graphic物件 Dim Graphics As New System.Drawing.Drawing2D.GraphicsPath Dim intHeight As Integer = Me.Size.Height Dim intWidth As Integer = Me.Size.Width '在表單上繪製一個大橢圓,左上角的座標取為(0,0) Graphics.AddEllipse(0, 0, intWidth, intHeight) '設置視窗的可見區域 Me.Region = New Region(Graphics) 小範例 做圓形Form的方法之一 給你參考吧 不然就是MSDN查索引Drawing2D也可 ※ 引述《dmkk42 (@@"~~~~~~)》之銘言: : 因為做遊戲需要用到 : 想問大家一下vb.net類似vb6 paintpicture的方法函式是瞎米 : 3q -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.139.142.182