Hi,
I want to create a background image for mdi form.I wrote the following code it shows some error.can you please help to rectify those errors.I am underlying the error part.please do the needful.
Error:-Value of 'null' is not valid for 'stream'.
public WelcomePage()
{
InitializeComponent();
foreach (Control c in this.Controls)
{
if (c is MdiClient)
{
c.BackgroundImage = Image.FromStream(this .GetType ().Assembly .
GetManifestResourceStream ("F:/ImageImpactServices/ImageImpactServices/marsweb.imageimpacts/marsweb.imageimpacts/1320220637_background.png"));
}
}
}
Best,
Sudheep.