sachi vasishta

sachi vasishta

  • NA
  • 252
  • 0

displaying a image in a winform's panel

May 4 2009 4:20 AM


Hi,

I have a winform which contains two panels in which the first panel contains some textboxes, comboboxes, and buttons. In the second panel I have 4 buttons namely "attach", "remove", "view front view", and "view back view" and two radio buttons namely "front view" and "back view". Now first I select the radio button "front view" and if I click the button attach then the form should take me to a folder "images" in the D drive( I am scanning the ATM card's front view and back view through the scanner and storing the scanned images in a folder "images" in the D drive) where I have some stored images(ATM cards front and back views).When I click the open button after selecting a image then it should take me back to the  panel and display that image(ATM card's front view) that I have selected in the images folder.

 Similarly if I click the remove button then it should remove the image(ATM card's front view) from the panel2.

 Now I will select the radio button2, the back view and do the same operation as I did previously, but the image(ATM card's back view)should overlap the first image(ATM card's front view)

Now if I click the "view front view" button then it should display the ATM card's front view(that is the front view should overlap the back view) and if I click the "view back view" button then it should display the ATM card's back view (again back view should overlap the front view)

can anyone help me  to accomplish this with code.


Answers (9)