Quote Originally Posted by Trusted View Post
Hey, I got it...

I am sorry, I was making a mistake... This code has to be written under a label and I was writing it under a button... Sorry again.

But a problem occurs. the picturebox in a new form appear at the left corner of panel. Can I align it at center? How?

Another problem, an "Out of Memory" exception. How can I handle this. I have 4 GB RAM but just to load a background image I am getting Out of Memory. Please help.

Trusted.
Man, I've faced something like your now.
take a look here.
Its my thread, I was trying to always get the same point on the screen even if the screen size changes. I think you can modify it to fit your problem or I'm saying a stupid think!!!
Well, try it. It's free...
hehehe