private void button2_Click(object sender, EventArgs e) { thirdForm = new ThirdPart(); thirdForm.Show(); thirdForm.Location = this.Location; this.Close(); }
private void button2_Click(object sender, EventArgs e) { var res = new ThirdPart(); res.Show(); }