SoFunction
Updated on 2025-03-07

C# implements a method to change the background color of MDI form

This article describes the C# method to change the background color of MDI form. Share it for your reference. The specific implementation method is as follows:

/// <summary>
/// Set the MDI background/// </summary>
void RemoveMdiBackColor()
{
 foreach (Control c in )
 {
  if (c is MdiClient)
  {
    = ; //color    = ; //background  }
 }
}

I hope this article will be helpful to everyone's C# programming.