How do I fix 'Object reference not set to an instance of an object.'?
I have an app that you can change the background in. The background of a panel in
The parameter that I pass into my
I get error:
I'm new and I don't particularly understand c# yet, so I hope one of you can help.
Form1 is set with this function:back_panel is set to Public so it can be accessed from my other form (UC_tab_theme.cs) and Form1 is instanced from The parameter that I pass into my
SetPanelBackgroundImage() function is Properties.Resources.blob_scene_haikei which is a valid path to the image.I get error:
I'm new and I don't particularly understand c# yet, so I hope one of you can help.