Beispiel #1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            frmMuonSach frm = new frmMuonSach();

            frm.ShowInTaskbar = false;
            frm.isInsert      = true;
            frm.LamMoi_Cick  += new EventHandler(HienThi_Event);
            frm.ShowDialog();
        }
Beispiel #2
0
 private void msds_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         if (gridView1.RowCount <= 0)
         {
             return;
         }
         frmMuonSach frm = new frmMuonSach();
         frm.ShowInTaskbar = false;
         frm.isInsert      = false;
         frm.SoPM          = gridView1.GetRowCellValue(gridView1.FocusedRowHandle, gridView1.Columns[0]).ToString();
         frm.LamMoi_Cick  += new EventHandler(HienThi_Event);
         frm.ShowDialog();
     }
     catch
     { }
 }