/// <summary> /// Opens the Login panel /// </summary> public void OpenLogin() { //Open the login screen Login = new LoginPanel(0, 0, 240, 400); Login.Enter += new EventHandler(login_Enter); Login.ShowMaximized(); }