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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

696 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