¡@

Home 

c# Programming Glossary: loginform

Winform Forms Closing and opening a new form

http://stackoverflow.com/questions/1677528/winform-forms-closing-and-opening-a-new-form

new frmHome frm.Show this.Close I'm opening HomeForm from LoginForm . In LoginForm 's form_closed event I call Application.Exit.. this.Close I'm opening HomeForm from LoginForm . In LoginForm 's form_closed event I call Application.Exit . This allows you.. event I call Application.Exit . This allows you to open LoginForm and exit the application by clicking the X button. The problem..

Open a second form while automatically closing the first form

http://stackoverflow.com/questions/2020261/open-a-second-form-while-automatically-closing-the-first-form

false using var login new LoginForm if login.ShowDialog DialogResult.OK return Application.Run new.. DialogResult.OK return Application.Run new Form1 Your LoginForm should set its DialogResult property to OK if it detected a..

What's the difference between Application.Run() and Form.ShowDialog()?

http://stackoverflow.com/questions/2314514/whats-the-difference-between-application-run-and-form-showdialog

Currently I'm doing it something like this var A new LoginForm if A.ShowDialog DialogResult.OK Application.Run new MainForm.. login is successful I think what you have is fine if new LoginForm .ShowDialog DialogResult.OK Application.Run new MainForm The..

How can I close a login form and show the main form without my application closing?

http://stackoverflow.com/questions/4759334/how-can-i-close-a-login-form-and-show-the-main-form-without-my-application-closi

you'll see the responsible bit of code Application.Run new LoginForm . Check out the documentation for that method here on MSDN which.. any form at all. Something like this static void Main LoginForm fLogin new LoginForm if fLogin.ShowDialog DialogResult.OK Application.Run.. Something like this static void Main LoginForm fLogin new LoginForm if fLogin.ShowDialog DialogResult.OK Application.Run new MainForm..