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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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…
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.…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now