private void UserEmployerButton_Click(object sender, EventArgs e) { if(Username.Visible) { MessageBox.Show("Please Log Out"); } else { Login l = new Login(); l.setAdminLogin(true); this.Hide(); l.Show(); } }
private void LoginPicButton_Click(object sender, EventArgs e) { if (Username.Visible) { MessageBox.Show("Please Log Out"); } else { Login l = new Login(); this.Hide(); l.Show(); } }