winform not maximizing

54

winform not maximizing -

this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

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);
        }

Comments

Submit
0 Comments