Solved

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

Posted on 2008-10-27
2
578 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
Comment Utility
didn't u tried thru code...
like...

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

Author Closing Comment

by:SystemSys
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now