Lol, I laughed when I saw this. In the form designer it is not possible to change the color/background image in the MDIContainer so you have to use code. This was a function I built for myself but I never got around to using it.
foreach (Control hi in this.Controls)
{
if (hi is MdiClient)
{
hi.BackgroundImage = Image.FromFile("C:" + (Char)47 + "Documents and Settings" + (Char)47 + "All Users" + (Char)47 + "Documents" + (Char)47 + "My Pictures" + (Char)47 + "Sample Pictures" + (Char)47 + "Blue hills.jpg");
}
}
|