tags:

views:

42

answers:

1

Hi, I'm working with windows forms with c#. I've set a property maximizebox = false to my form. But when i click on form it is getting maximized. How can i prevent it?

Note: If i set my form border style is none it is not working. In the other cases it is working fine

Thanks in advance nagu

+1  A: 

Just because you set the maximize box to false does not mean that the form cannot be maximized. It just means that your form hides that particular button.

You can stil max a form by double-clicking the title area, or from within the code itself.

Jerry