.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

After Logon How to Move to MDI form....

Posted By: susant     Posted Date: December 01, 2008    Points:2   Category :C#
Hi All

I have two Forms like...

1. Logon.cs
2.Home.cs(i.e. MDI Form)

i)when i will run my application first will display Logon...
ii)if my logon success then it will move HomePage(i.e MDI Form)..
iii)After moving to home.cs (i.e MDI Form).. Logon.cs will close..

iv) If I will click Exit Button of Logon.cs without moving to MDI Form it will exist from application...

So what are the steps i have to follow...??


susant
Mumbay

Responses
Author: Amit Mehra             
Posted Date: December 01, 2008     Points: 5   

Hi,
You can do like this to hide the window
this.Hide();

and you can use "FormClosed" event to trap Closed event

Hope this helps

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend