Hello
Now I am trying to develop a project in C#.But i want to maximize my form ,when i click at the: maximize button or double click at the top of the form,But i can'nt impliment successfully ,
Please Healp me
:)

If you are using Visual Studio C# Pro or Express, it is implemented automatically. You don't have to implement it yourself.
Unless of course you did something with the MinimumSize or MaximumSize properties of the Form, or you set the MaximizeBox property to false.

You could try something like this too:

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

Change the property Form border style to "sizable".........
Hope it works.........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.