WIndows forms c# colored panel code example
Example: visual studio C# hintergrund bild ändern
// You should replace the bolded image
// in the sample below with an image of your own choosing.
// Note the escape character used (@) when specifying the path.
panel1.BackgroundImage = Image.FromFile
(System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal)
+ @"\Image.gif");