Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Change background in all forms with a button click

$
0
0

I made 2 forms and Form2 has buttons for background images. How can I, when I press that button set background on all forms. Because when I did some coding : 

this.BackgroundImage = new Bitmap(Properties.Resources._8_8008_by_amplifier404, new Size(800, 500));

// where _8_8008_by_amplifier404 is name of the image

it only changes background image on form which has that button but I want when I click that button to change background on all forms?!




Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>