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

Posted on 2008-10-27
Medium Priority
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 1500 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 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