I need a getting signature sample running o开发者_如何学Pythonn Windows-Mobile. (paint)
How to draw on Windows-Mobile on screen - and save the Picture?
Can I get sample code (C#) ?
OpenNETCF has a signature control that does exactly this: http://www.opennetcf.com/library/sdf/html/e2ec2ece-e6f1-8e43-0f59-9270bf186c38.htm
Update: If you don't want to use that signature control, here is an answer that shows how to draw on a PictureBox
(technically, how to draw on a Bitmap
set as the picture box's Image
property):
how to draw drawings in picture box
That code will work in Windows Mobile, also. To save what you've drawn as a bitmap file, just do this:
pictureBox1.Image.Save(...);
精彩评论