示例#1
0
        private void btSua_Click(object sender, EventArgs e)
        {
            fmPhieuThuTien ptt = new fmPhieuThuTien(gView_DSPTT.GetRowCellValue(gView_DSPTT.FocusedRowHandle, "Mã phiếu thu").ToString(), gView_DSKH.GetRowCellValue(gView_DSKH.FocusedRowHandle, "Mã KH").ToString(), gView_DSPTT.GetRowCellValue(gView_DSPTT.FocusedRowHandle, "Số tiền thu").ToString());

            ptt.ShowDialog();
            load_DSPTT_TheoMaKH(gView_DSKH.GetRowCellValue(gView_DSKH.FocusedRowHandle, "Mã KH").ToString());
            load_DSKH();
        }
示例#2
0
        private void btnPhieuThuTien_ItemClick(object sender, ItemClickEventArgs e)
        {
            fmPhieuThuTien fm = new fmPhieuThuTien();

            fm.ShowDialog();
        }