private void load_CTPN(string ct_pn)
        {
            string[]    param     = { ct_pn };
            MDPhieuNhap phieunhap = new MDPhieuNhap();

            pnhap = phieunhap.getChiTietPhieuNhap(param);
            sP_DS_CHITIET_PHIEUNHAPGridControl.DataSource = pnhap;
            sP_DS_CHITIET_PHIEUNHAPGridControl.DataMember = pnhap.TableName;
        }
        private void cboxMaPhieuNhap_SelectedValueChanged(object sender, EventArgs e)
        {
            DataTable ppnn = new DataTable();
            string    mapn = cboxMaPhieuNhap.Text.ToString();

            string[]    param     = { mapn };
            MDPhieuNhap phieunhap = new MDPhieuNhap();

            ppnn = phieunhap.getChiTietPhieuNhap(param);
            DS_CT_PNHAP.DataSource = ppnn;
        }