private void metroButton4_Click_1(object sender, EventArgs e) { StudentDetailsForm dialog = new StudentDetailsForm(); dialog.ShowDialog(); }
private void known_person_pictureBox_Click(object sender, EventArgs e) { StudentDetailsForm form = new StudentDetailsForm(result.identified_student); form.ShowDialog(); }
// show dialog when add student tile is clicked private void AddStudent_Tile_Click(object sender, EventArgs e) { StudentDetailsForm dialog = new StudentDetailsForm(); dialog.ShowDialog(); }