I’ve got a form I’d like to change the “skin” on. Clicked on BackgroundImage and imported the two background images I’d like to use then in my code I’ve
private void button3_Click(object sender, EventArgs e)
{
skin =!skin;
if (skin == true)
BackgroundImage = Image.FromFile("weather picGreen.jpg");
if(skin== false)
BackgroundImage = Image.FromFile("weather pic3.jpg");
During debug I’m getting a FileNotFound handling exceptionBackgroundImage = Image.FromFile("weather picGreen.jpg");
On this highlighted code. Do I have to add some form of reference?