maximize a windows form

  • Thread starter Thread starter M D
  • Start date Start date
M

M D

I can't find how to set a Winapp project to a mazimized form as it's
default. As a matter of fact I would like to have the form maximized
and then disable the button so that it stays that way.

thx
md
 
Set WindowState property of your form to FormWindowState.Maximized and
MaximizeBox to false
 
Hi M D,

Set form's WindowsState property to Maximized then you can change
MinimizeBox to false in order to disable Minimize button. If you set
MaximizeBox to false as well you'll get rid of those buttons as they don't
make sense to stay there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top