Esempio n. 1
0
        private void btnAddDocGia_Click(object sender, EventArgs e)
        {
            FormDuLieuDocGia f = new FormDuLieuDocGia(null);

            f.d = new FormDuLieuDocGia.Mydel(this.ShowDG);
            f.ShowDialog();
        }
Esempio n. 2
0
 private void btnEditDocGia_Click(object sender, EventArgs e)
 {
     if (dataGridViewDocGia.SelectedRows.Count == 1)
     {
         FormDuLieuDocGia f = new FormDuLieuDocGia(dataGridViewDocGia.SelectedRows[0].Cells["MSSV"].Value.ToString());
         f.d = new FormDuLieuDocGia.Mydel(this.ShowDG);
         f.ShowDialog();
     }
 }