// // 1- Report Title // 2- Table Start Name // 3- Table Name // 4- Field List // 5- ID Start // 6- ID End // 7- Order // 8- Custom Qry List<> //string pRptTitle, string pFromDate, string pToDate public frmPrintViewerSubRpt( string pRptTitle, string p, string p_2, string pStoreProcName, string plstField, string plstType, string plstValue, DataSet pDs, Cha.PrintViewer.ReportClass prpt1, string pQtyType ) // Constructor { InitializeComponent(); fRptTitle = pRptTitle; fp = p; fp_2 = p_2; fStoreProcName = pStoreProcName; flstField = plstField; flstType = plstType; flstValue = plstValue; fDs = pDs; frpt1 = prpt1; fQtyType = pQtyType; // try { fRptTitle = pRptTitle; this.Text = fRptTitle; } catch (Exception ex) { MessageBox.Show("Exception-Initialize: " + ex.Message, this.Text.ToString()); } }
// Constructor // // 1- Report Title // 2- Table Start Name // 3- Table Name // 4- Field List // 5- ID Start // 6- ID End // 7- Order // 8- Custom Qry List<> //string pRptTitle, string pFromDate, string pToDate public frmPrintViewerSubRpt( string pRptTitle, string p, string p_2, string pStoreProcName, string plstField, string plstType, string plstValue, DataSet pDs, Cha.PrintViewer.ReportClass prpt1, string pQtyType ) { InitializeComponent(); fRptTitle = pRptTitle; fp = p; fp_2 = p_2; fStoreProcName = pStoreProcName; flstField = plstField; flstType = plstType; flstValue = plstValue; fDs = pDs; frpt1 = prpt1; fQtyType = pQtyType; // try { fRptTitle = pRptTitle; this.Text = fRptTitle; } catch (Exception ex) { MessageBox.Show("Exception-Initialize: " + ex.Message, this.Text.ToString()); } }