コード例 #1
0
        private void mDataGridNvl_CurrentRowChanged(object sender, EventArgs e)
        {
            this.mDataGridItem.Clear();
            if (this.mDataGridNvl.CurrentRow == null)
            {
                return;
            }
            Info_link_bill info = mDataGridNvl.GetCurrentEntity() as Info_link_bill;

            Sales.UI.Report.FmLinkBillManagerReport report = new Sales.UI.Report.FmLinkBillManagerReport();

            //report.GridControl = this.reoGridLink;
            report.Show(info, this.reoGridLink);

            List <Info_store_out_item> items = manager.QueryOutItems(info.LinkBill_Id);

            mDataGridItem.SetDataSource <Info_store_out_item>(items);

            this.DoSelectValueEvent(info);
        }
コード例 #2
0
        void mDataGridNvl_CurrentRowChanged(object sender, EventArgs e)
        {
            this.mDataGridMatchTb.Clear();
            if (this.mDataGridNvl.CurrentRow == null)
            {
                return;
            }

            Info_link_bill info = mDataGridNvl.GetCurrentEntity() as Info_link_bill;

            Sales.UI.Report.FmLinkBillManagerReport report = new Sales.UI.Report.FmLinkBillManagerReport();

            //report.GridControl = this.reoGridLink;
            report.Show(info, this.reoGridLink);

            List <GaoShan.Sales.Model.Info_matchTb> ltMatchTb = matchTbManager.FindAllLinkMatchTbs(info.LinkBill_Id);

            mDataGridMatchTb.SetDataSource <GaoShan.Sales.Model.Info_matchTb>(ltMatchTb);

            this.DoSelectValueEvent(info);
        }