private void btnUpdateDetail_Click(object sender, EventArgs e)
        {
            updateDetail = new PVCSalesUpdateDetail(main, setPVCSalesID);
            DialogResult result = updateDetail.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                RefreshHeader();
                SelectHeaderBySalesID(main.globalPVCSalesID);
            }
        }
        public PVCSalesUpdateList(PVCSalesUpdateDetail parent, int pvcID, string pvcName, Decimal qty, int sellPrice, string typeUnit, Decimal pvcPerPack)
        {
            this.parent     = parent;
            this.pvcID      = pvcID;
            this.pvcName    = pvcName;
            this.qty        = qty;
            this.sellPrice  = sellPrice;
            this.typeUnit   = typeUnit;
            this.total      = 0;
            this.pvcPerPack = pvcPerPack;

            InitializeComponent();
        }