Topic: Show - Hide Parent form when child is active. Re: Congratulations
Reply
![]() |
|
|
From:
Jignesh Desai
|
Topic: Show - Hide
Parent form when child is active.
Regards
Jignesh Desai
----- Original Message -----
Sent: Wednesday, April 13, 2005 11:10
AM
Subject: Re: Congratulations
> Hi, > > I have two forms. One is main form and the
other is the child. I call the child form on a button event of the main form
as > > frmChild frmSec = new frmChild(); >
frmSec.Show(); > > I'm using this.Hide() to hide the first form
before these lines. So the first form is hidden and second form is
shown. > > Now my issue is how can i show the first form when the
second form is closed. I'm using this.Close() method in the second form to close
the second form. In other words, where can i write this.Show() method for the
first form? I mean in which event of the first form? (or) the which event of the
second form? > > Secondly, do you have any idea about the lifecycle
of the forms? (or) the order of events execution for the form. All i know is
every form has the following events. > 1) Activated 2) Click 3) Closed 4)
Closing 5) Deactivate 6) Dispose 7) EnabledChanged 8) GotFocus 9) Load 10)
LostFocus 11) Paint 12) ParentChanged 13) Resize 14) Validated 15) Validating
.. and some few about the KeyUp and KeyDown events... > > I would
like to know the order of these events execution, i mentioned here as the order
of Alphabetical. > > Regards, > >
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|
- Topic: Show - Hide Parent form when child is active. Re: Co... Jignesh Desai
-