Wednesday, June 11, 2014

How to change the background color for an MDI parent form in Visual Basic .NET

First of all How to create a MDI Form :

1) Click the form, and then, on the View menu, select Properties Window to view the properties for the form.
2) Set the BackColor property to the color that you want (such as LightBlue).
3) Set the IsMDIContainer property to True. Note that the background color of the

form changes to the color that the Application Background color is set to in Control Panel. 
4) Set the WindowState property to Maximized

Now How to Change its Colour :

1) Double-click the form to view its code window.
2) Paste the following code into the form's Load event handler: 


Post a Comment