How to change MDI container form backcolor in c#
  • Hello
    Please tell me who can i change MDI container form Background color in c#.
    I want to change backgorund color or image in MDI container form.
  • 2 Comments sorted by
  •     private void
    Mdicolor_Load(object sender, EventArgs e)


           
    {


               
    MdiClient chld;


               
    foreach (Control ctrl in this.Controls)


               
    {


                   
    try


                   
    {


                       
    chld = (MdiClient)ctrl;


                       
    chld.BackColor = this.BackColor;



                   
    }


                   
    catch (InvalidCastException exe)


                   
    {


                   
    }


               
    }


           
    }
    font-family:"Courier New"">


Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Tagged

Popular Posts of the Week

Top Posters Weekly

Optimum Creative