Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     var LoginForm = new LoginForm();
     LoginForm.Show();
     Application.Run();
 }
Exemplo n.º 2
0
        // 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();
        }