Exemple #1
0
        private void btnAddSach_Click(object sender, EventArgs e)
        {
            FormDuLieuSach f = new FormDuLieuSach(null);

            f.d = new FormDuLieuSach.MyDel(this.ShowSach);
            f.ShowDialog();
        }
Exemple #2
0
 private void btnEditS_Click(object sender, EventArgs e)
 {
     if (dataGridViewQLSach.SelectedRows.Count == 1)
     {
         FormDuLieuSach f = new FormDuLieuSach(dataGridViewQLSach.SelectedRows[0].Cells["MaTL"].Value.ToString());
         f.d = new FormDuLieuSach.MyDel(this.ShowSach);
         f.ShowDialog();
     }
 }