private void Document(ToolStripButton sender) { if (ucMatchTbInfo1.CurrentSelectValue == null) { return; } Model.Info_matchTb info = ucMatchTbInfo1.CurrentSelectValue as Model.Info_matchTb; GaoShan.Sales.UI.Win.FmReoGridShow fmReoGridShow = new GaoShan.Sales.UI.Win.FmReoGridShow(); fmReoGridShow.SetReportBind(new GaoShan.Sales.UI.Report.FmMatchTbManagerReport(), info); fmReoGridShow.ShowDialog(); }
protected override void PrintPreview(ToolStripButton sender) { List <Model.Info_store_check> list = mDataGridItem.GetDataSource <Model.Info_store_check>(); if (list != null) { Model.Bu_store_check buStoreCheck = GetCheckReportInfo(list); //orderPrint.PrintPreview(buStoreCheck); GaoShan.Sales.UI.Win.FmReoGridShow fmReoGridShow = new GaoShan.Sales.UI.Win.FmReoGridShow(); fmReoGridShow.SetReportBind(new Report.FmStoreCheckManagerReport(), buStoreCheck); fmReoGridShow.ShowDialog(); } }
private void Document(ToolStripButton sender) { if (this.mDataGrid1.CurrentRow == null) { return; } Model.Info_matchTb info = mDataGrid1.GetCurrentEntity() as Model.Info_matchTb; if (info.Items.Count == 0) { info.Items = manager.GetMatchTbItems(info.MatchTb_Id); } GaoShan.Sales.UI.Win.FmReoGridShow fmReoGridShow = new GaoShan.Sales.UI.Win.FmReoGridShow(); fmReoGridShow.SetReportBind(new GaoShan.Sales.UI.Report.FmMatchTbManagerReport(), info); fmReoGridShow.ShowDialog(); }