private void btnLogout_Click(object sender, EventArgs e) { this.Hide(); LoginUI loginUI = new LoginUI(); loginUI.ShowDialog(); this.Close(); }
private void btnLogout_Click(object sender, EventArgs e) { //brings you back to login screen this.Hide(); LoginUI loginUI = new LoginUI(); loginUI.ShowDialog(); this.Close(); }