private void button1_Click(object sender, EventArgs e) { if (txtmssv.TextLength != 0) { frmQuanlyquatrinhhocsinhvien f = new frmQuanlyquatrinhhocsinhvien(); f.ShowDialog(); } }
private void button1_Click(object sender, EventArgs e) { if (txtmssv.TextLength != 0) { ma = txtmssv.Text; cn = CBB.SelectedValue.ToString(); frmQuanlyquatrinhhocsinhvien f = new frmQuanlyquatrinhhocsinhvien(); f.ShowDialog(); } else { warning.Play(); } MessageBox.Show("Bạn cần chọn sinh viên để nhập điểm"); }