Maximize child MDI form without ControlBox

Problem:

When we try maxing the form as maximum mode using control box buttons , then every thing goes fine and it be maximized and can see the toolbar below.

But when we try doing the same with with controlbox = false( this will hide the control box), now if you try making the for to maximize, it will be maximized but it will also hide the toolbar below.

When we hide the control box the form will be maximize to the whole screen ( hiding the system toolbar).

Solution:

Hide the control box on page

Code :

Please paste this code in form load method

In VB
Me.ControlBox = False

In C#
this.ControlBox = false;

Comments

Popular posts from this blog

Adding text to label using javascript

Get Text Height & Width