private void button2_Click(object sender, EventArgs e) { register d6 = new register("REG"); d6.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { type = "REG"; register d6 = new register(type); d6.Show(); this.Hide(); }