Click here to Skip to main content
15,877,168 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:

I want to set an image as background image and set that image so that it should expand when form expands.

Thanks in advance,
Sergey Alexandrovich Kryukov 15-Feb-12 2:25am    
What is "expand"? Re-sample?

1 solution

Dear Friend,

panel1.BackgroundImage = Image.FromFile
   + @"\Image.gif");

Follow the steps to do the same:-[^]

Hope this will help you out.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900