private void btn_sua_Click(object sender, EventArgs e)
        {
            int       flag = 1;
            PHIEU_CHI pc   = new PHIEU_CHI();

            //txt_maphieuchi.Text = pc.MA_PCHI;
            //txt_chuthich.Text = pc.CHU_THICH;
            //txt_tien.Text = pc.SO_TIEN.ToString();
            //cb_date.DateTime = (DateTime)pc.NGAY_LAP;
            //cbo_tk.SelectedValue = pc.MATK;
            //cb_cthm.SelectedValue = pc.MA_CTHM_CHI;
            //txt_chicho.Text = pc.CHI_CHO_AI;
            try
            {
                pc.MA_PCHI     = gridView1.GetFocusedRowCellValue("MA_PHIEU_CHI").ToString();
                pc.MATK        = gridView1.GetFocusedRowCellValue("MA_TK").ToString();
                pc.MA_CTHM_CHI = int.Parse(gridView1.GetFocusedRowCellValue("MA_CTHM_CHI").ToString());
                pc.NGAY_LAP    = DateTime.Parse(gridView1.GetFocusedRowCellValue("NGAY_LAP").ToString());
                pc.SO_TIEN     = decimal.Parse(gridView1.GetFocusedRowCellValue("SO_TIEN").ToString());
                pc.CHU_THICH   = gridView1.GetFocusedRowCellValue("CHU_THICH").ToString() + "";
                pc.CHI_CHO_AI  = (gridView1.GetFocusedRowCellValue("CHI_CHO_AI") == null ? "" : gridView1.GetFocusedRowCellValue("CHI_CHO_AI").ToString());
                int       mahmchi  = int.Parse(gridView1.GetFocusedRowCellValue("MA_HM_CHI").ToString());
                string    matiente = gridView1.GetFocusedRowCellValue("MA_LOAI").ToString();
                XtraForm1 frm      = new XtraForm1(pc, mahmchi, matiente);
                frm.ShowDialog();
            }
            catch (Exception ex) { }
        }
        private void btn_Them_Click(object sender, EventArgs e)
        {
            XtraForm1 frm = new XtraForm1();

            frm.Show();
        }