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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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.…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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