private void metroTile2_Click(object sender, EventArgs e) { UserSignIn login = new UserSignIn(); this.Hide(); login.ShowDialog(); this.Close(); }
private void metroTile1_Click(object sender, EventArgs e) { UserSignIn usi = new UserSignIn(); this.Hide(); usi.ShowDialog(); this.Close(); }
public UserDashboard() { InitializeComponent(); if (checking == 0) { checking = 100; UserSignIn form = new UserSignIn(); form.Close(); } }