Solved

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

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

1-MDIParent1
2-form1
3-form2

=======================
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
0
Comment
Question by:SystemSys
[X]
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
2 Comments
 
LVL 14

Accepted Solution

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

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

Author Closing Comment

by:SystemSys
ID: 31510636
your idea is OK

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

====================================

thanks Binuth
0

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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) 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