2010-04-25 16 views
4

我需要一個在Windows Mobile上運行的簽名示例。 (油漆)在Windows Mobile上需要簽名示例(paint)

如何在屏幕上繪製Windows Mobile?並保存圖片?

我可以得到示例代碼(C#)嗎?

+0

@Gold:我修改我的鏈接的答案與.net CF工作(因爲它沒有鋼筆或MouseEventArgs代碼。位置)。 – MusiGenesis 2010-04-26 14:18:20

回答

3

OpenNETCF有一個簽名控件,正是這一點:http://www.opennetcf.com/library/sdf/html/e2ec2ece-e6f1-8e43-0f59-9270bf186c38.htm

更新:如果你不希望使用簽名的控制,這裏是展示如何在PictureBox畫(技術上的答案,如何借鑑設置爲圖片框的Image屬性Bitmap):

how to draw drawings in picture box

該代碼會在Windows Mobile的工作,也。爲了節省您所繪製什麼爲位圖文件,只是這樣做:

pictureBox1.Image.Save(...);