Solved

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

Posted on 2008-10-27
2
585 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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