private void capnhathoso_Click(object sender, EventArgs e) { if (svcbb.Enabled == true) { frStudentCapNhat scn = new frStudentCapNhat(svcbb.SelectedValue.ToString()); scn.ShowDialog(); } else { frStudentCapNhat scn = new frStudentCapNhat(svcbb2.SelectedValue.ToString()); scn.ShowDialog(); } }
private void capnhathoso_Click(object sender, EventArgs e) { frStudentCapNhat sc = new frStudentCapNhat(hsmasv.Text); sc.ShowDialog(); }