public void ProductReport(int productRef) { try { FormPrintDialog formPrintDialog = new FormPrintDialog("RetailTrade.Resources.ProductReport.rdlc"); formPrintDialog.ProductRef = productRef; formPrintDialog.ShowDialog(this); } catch (Exception err) { MessageBox.Show(err.Message); } }
public void PeriodSumReport(string name) { try { FormPrintDialog formPrintDialog = new FormPrintDialog(name); formPrintDialog.TradePutletRef = this.LocalSettingRow.MainTradePutletRef; formPrintDialog.ShowDialog(this); } catch (Exception err) { MessageBox.Show(err.Message); } }
public void PeriodSumReport(string name) { try { FormPrintDialog formPrintDialog = new FormPrintDialog(name); formPrintDialog.TradePutletRef= this.LocalSettingRow.MainTradePutletRef; formPrintDialog.ShowDialog(this); } catch (Exception err) { MessageBox.Show(err.Message); } }