winform not maximizing
private void Form1_Load(object sender, EventArgs e)
{
this.Top = 0;
this.Left = 0;
this.Size = new Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height - 10);
}
4.56
9
this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;
Thank you!
9
0
Are there any code examples left?
New code examples in category Other