예제 #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     NwLogin login = new NwLogin();
     login.Show();
     Application.Run();
 }
예제 #2
0
 /// <summary>
 /// hides the home form and reopens the login form.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void logOutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Hide();
     _loginScreen = new NwLogin();
     _loginScreen.Show();
 }