Re: vb.net內沒有shape
※ 引述《jiannrong@kkcity.com.tw ( )》之銘言:
: 因為vb.net內沒有shape
: 只能繪圖
: 可是..如果我想要跟vb6那樣,可以針對shape進行滑鼠左右鍵偵測
: 比如,我在vb.net內畫了這圖形
: Dim g as graphics=me.creategraphics
: g.fillellipse(brushes.yellow,120,70,80,80)
: 那我該如何在這圖形上面做動作呢?
請用System.Drawing.Drawing2D.GraphicsPath
Sample的話請google "point mouse graphicspath"
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 202.134.126.84
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
Programming 近期熱門文章
PTT數位生活區 即時熱門文章