Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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