I made 2 forms and Form2 has buttons with images like planets and game wallpapers etc. When I write the code for button:
it only changes background in form which has those buttons as long the form is used. Once I go back to form1 it's changed to null. How to set background in all forms with a button click which will be there until another button with an image is clicked.
Code:
this.BackgroundImage = new Bitmap(Properties.Resources._8_8008_by_amplifier404); this.BackgroundImageLayout = ImageLayout.Stretch; // where _8_8008_by_amplifier404 is name of the image located in resources
Comment