• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 591
  • Last Modified:

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

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
SystemSys
Asked:
SystemSys
1 Solution
 
BinuthCommented:
didn't u tried thru code...
like...

Form1 f = new Form1();
f.WindowState = FormWindowState.Maximized;
f.Show();
0
 
SystemSysAuthor Commented:
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now