Home > Net >  C # form to maximize
C # form to maximize

Time:10-12

In Form1 maximum selection window, enter the Form2 how to maximize the window
Description is not clear if anyone can understand what I mean
Below is my Form1 and Form2 switching applications

CodePudding user response:

Attribute is set to maximize

CodePudding user response:

Have a maximum attribute set

CodePudding user response:

WindowState attribute is set to Maximized

CodePudding user response:

One way is to
Private void myform_Load (object sender, EventArgs e)
{
Enclosing WindowState=FormWindowState. Maximized;
}

CodePudding user response:

 myForm. WindowState=FormWindowState. Maximized. 

CodePudding user response:

MyForm. WindowState=this. WindowState;
Front on myForm. The Show ()
  •  Tags:  
  • C#
  • Related