How to change the background color in Mdi parent form in c#
How to change the background color in Mdi parent form in c# in visual studio 2017?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
snehal suryavanshiPosted Jul 5, 2018, 1:42 AM
Ali KhoshbakhtianPosted Oct 11, 2021, 4:21 PM
{
foreach (Control ctl in this.Controls)
{
try
{
System.Windows.Forms.Control Mdi = (MdiClient)ctl;
Mdi.BackColor = Color.FromA#0096ff;
}
catch (Exception a)
{
}
}
}
Ravi PatelPosted Jun 13, 2021, 8:46 AM