Exemple #1
0
        private void btn_Them_Click(object sender, EventArgs e)
        {
            check     = false;
            trangthai = 1;
            Frm_TTMuonTra TTMT = new Frm_TTMuonTra("", check, trangthai);

            TTMT.ShowDialog();
        }
Exemple #2
0
        private void btn_Sua_Click(object sender, EventArgs e)
        {
            trangthai = 2;
            check     = true;
            Frm_TTMuonTra TTMT = new Frm_TTMuonTra(DTGV.CurrentRow.Cells[0].Value.ToString(), check, trangthai);

            TTMT.ShowDialog();
        }
Exemple #3
0
        private void DTGV_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            check     = true;
            trangthai = 0;
            Frm_TTMuonTra TTMT = new Frm_TTMuonTra(DTGV.Rows[e.RowIndex].Cells["Column1"].Value.ToString(), check, trangthai);

            TTMT.ShowDialog();
        }