Change Background of an MDI Form

前端 未结 2 1853
粉色の甜心
粉色の甜心 2020-12-20 12:55

How can I change the BACKGROUND color of the MDI FORM in C#?

I changed it using the background color property but the color is not changed.

What should I

2条回答
  •  情歌与酒
    2020-12-20 13:03

    Write this in your load method of your MDI form.

    Controls.OfType().FirstOrDefault().BackColor = Color.Purple;
    

提交回复
热议问题