4

I need a getting signature sample running on Windows-Mobile. (paint)

How to draw on Windows-Mobile on screen - and save the Picture?

Can I get sample code (C#) ?

İsmet Alkan
  • 5,361
  • 3
  • 41
  • 64
Gold
  • 60,526
  • 100
  • 215
  • 315
  • @Gold: I modified the code in my linked answer to work with .Net CF (since it doesn't have Pens or MouseEventArgs.Location). – MusiGenesis Apr 26 '10 at 14:18

1 Answers1

3

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(...);
Community
  • 1
  • 1
MusiGenesis
  • 74,184
  • 40
  • 190
  • 334