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,231
  • 3
  • 39
  • 64
Gold
  • 57,486
  • 97
  • 211
  • 311
  • @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
  • 72,855
  • 39
  • 185
  • 327