Changing a formwindows backcolor from a panel

Posted by JPJedi on Stack Overflow See other posts from Stack Overflow or by JPJedi
Published on 2010-03-22T17:17:14Z Indexed on 2010/03/22 17:31 UTC
Read the original article Hit count: 428

Filed under:
|
|

I have a panel that is docked to the right side of a windows form. I set a color with a setting on the panel but I want to then update the main form (not the panel) backcolor to the new setting. But when I use me.backcolor = setting it changes the panels backcolor.

This is also with VB.net windows forms with Visual Studios 2008

Thanks

© Stack Overflow or respective owner

Related posts about Windows

Related posts about winforms