static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var LoginForm = new LoginForm(); LoginForm.Show(); Application.Run(); }
// A button to logout the current user. This is still being worked on and currently only opens a new copy of the login form private void logoutButton_Click(object sender, EventArgs e) { LoginForm loginform = new LoginForm(); loginform.Show(); this.Close(); }