Exemplo n.º 1
0
 private void btnEditStudent_Click(object sender, EventArgs e)
 {
     StudentIndex = listBoxStudents.SelectedIndex;
     FormStudent fs = new FormStudent(this);
     fs.ShowDialog();
 }
Exemplo n.º 2
0
 private void btnAddStudent_Click(object sender, EventArgs e)
 {
     studentIndex = -1;
     FormStudent fs = new FormStudent(this);
     fs.ShowDialog();
 }