How Can I Make Form1's  property (WindowState = Normal) without changing

Posted on 2008-10-27
Last Modified: 2012-06-27
I have three forms


form1's properties :

 MaximizeBox = False
WindowState = Normal

form2's properties :

 MaximizeBox = True
 WindowState = Maximized


when I open form2 first
after that I open form1 second

will become form1's property:

WindowState = Maximized

Like Form2

My question is How Can I Make Form1's  property (WindowState = Normal) without changing
Question by:SystemSys
LVL 14

Accepted Solution

Binuth earned 500 total points
ID: 22819665
didn't u tried thru code...

Form1 f = new Form1();
f.WindowState = FormWindowState.Maximized;

Author Closing Comment

ID: 31510636
your idea is OK

but the correct answer this code
        Dim f As New Form1
        f.MdiParent = Me
        f.WindowState = FormWindowState.Normal


thanks Binuth

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question