private void home_Click(object sender, EventArgs e) { this.Hide(); home h = new home(user); h.ShowDialog(); this.Close(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); home sp = new home(user); sp.ShowDialog(); this.Close(); }