dev bisht

dev bisht

  • NA
  • 1
  • 3.3k

regarding windows application using c#

May 25 2012 4:47 AM
hi,


i am using the following code to show an image of finger print on touching finger in finger print device  when i connect a finger print device in our pc.
 i am using windows application using c#.

  private void axZKFPEngX1_OnImageReceived(object sender, AxZKFPEngXControl.IZKFPEngXEvents_OnImageReceivedEvent e)
        {
            
            MessageBox.Show("hello");
           
           // axZKFPEngX1.OnImageReceived;
            System.Drawing.Graphics canv;
            canv = pictureBox1.CreateGraphics();
            //canv = pictureBox1.CreateGraphics().ToString();
            IntPtr dc = canv.GetHdc();
            axZKFPEngX1.PrintImageAt(dc.ToInt32(), 0, 0, pictureBox1.Width, pictureBox1.Height);
            
            canv.Dispose();
        }


but no result is takes.no error.

please give me the solution if any.....

Answers (1)