private void button2_Click(object sender, EventArgs e) { CandidateInformation2 candidateInformation = new CandidateInformation2(); this.Hide(); candidateInformation.ShowDialog(this); }
private void button1_Click(object sender, EventArgs e) { CandidateInformation2 candidateInformation = new CandidateInformation2(); this.Hide(); candidateInformation.ShowDialog(this); //Interface conversion function }