private void button2_Click(object sender, EventArgs e) { this.Hide(); JoinForm form = new JoinForm(); form.Show(); }
public void JoinFormTest() { JoinForm testJoinForm = new JoinForm(); testJoinForm.button1_Click(); testJoinForm.OnFormClosing(); }