-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Jigs
Message 1 in Discussion


pls find reply at http://dotnetjini.jigneshdesai.com/Forums/default.aspx
Topic: Show - Hide 
Parent form when child is active. 
 
Regards
Jignesh Desai
 
 
----- Original Message ----- 
From: "Simi Agarwal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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,
> 
> 


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

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.
mailto:[EMAIL PROTECTED]

Reply via email to