MDI Child without Min, Max or X

  • Thread starter Thread starter Jassim Rahma
  • Start date Start date
J

Jassim Rahma

I have an MDI child for and I want it to be shown maximized with
preventing the user from clicking on Max, Min or X buttons on the
control box.


Many Thanks,
Jassim Rahma
 
Jassim said:
I have an MDI child for and I want it to be shown maximized with
preventing the user from clicking on Max, Min or X buttons on the
control box.


Many Thanks,
Jassim Rahma

Handle the Load event and do
WindowState = FormWindowState.Maximized;

Set the ControlBox property to false to disable the min, max and close
buttons alltogether, (or handle the appropriate events and set e.Cancel
= true.)

John Davison
Compass Engineering Group
 
Back
Top