How do I resize a form

  • Thread starter Thread starter Dustin
  • Start date Start date
D

Dustin

I would like to resize a form to it's maximum size, as if I hit the
maximize button after it loads. How would I do this programatically in
VB.NET?

Thanks,
Dustin
 
Thanks! In the meantime I found something close:

Me.Location = New Point(0, 0)
Me.Size = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size
 
Cool. I like that just as much.

Greg

Dustin said:
Thanks! In the meantime I found something close:

Me.Location = New Point(0, 0)
Me.Size = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size
 

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

Similar Threads


Back
Top