understand what i've to do to have a zoom of an image...i don't know where's
the error. If anyone know a simple code tell me the url :O)
private void Zoom200_Click(o bject sender, System.EventArg s e)
{
PictureBox.Widt h = PictureBox.Widt h + (PictureBox.Wid th * 2);
PictureBox.Heig ht = PictureBox.Heig ht + (PictureBox.Hei ght * 2);
Ridisegna();
}
private void Ridisegna(){
PictureBox.Size Mode = PictureBoxSizeM ode.StretchImag e;
if ((PictureBox.Im age.Height>= PictureBox.Heig ht )||(PictureBox. Image.Width
= PictureBox.Widt h)){
vScrollBar.Maxi mum = PictureBox.Heig ht + hScrollBar.Heig ht;
hScrollBar.Maxi mum = PictureBox.Widt h + vScrollBar.Widt h;
hScrollBar.Valu e = 0;
vScrollBar.Visi ble = true;
hScrollBar.Visi ble = true;}
else{
vScrollBar.Visi ble = false;
hScrollBar.Visi ble = false; }
The error is that i don't see horizontal and vertical bar when the image is
bigger than picturebox