Resize and fit Windows Form to different resolutions in C# and VB.Net

Last Reply 7 months ago By Mudassar

Posted 7 months ago


I have designed a Windows Form application and I want to make sure that the Windows Form adjust itselfs in different monitors and different resolutions. Please help?

You are viewing reply posted by: Mudassar 7 months ago.
Posted 7 months ago

You will need to keep the Windows Form in maximized state and thus it will adjuist automatically in different monitors and different resolutions.


private void Form1_Load(object sender, EventArgs e)
    this.WindowState = FormWindowState.Maximized;


Private Sub Form1_Load(sender As Object, e As EventArgs)
	Me.WindowState = FormWindowState.Maximized
End Sub