public frmQuotation() { quotationBLL = new QuotationBLL(dbHelper); InitializeComponent(); gvQuotation.CellContentClick += gvQuotation_CellContentClick; FillCombo(); FillGrid(); }
public frmQuotationReport() { this.prnDialog = new System.Windows.Forms.PrintDialog(); this.prnPreview = new System.Windows.Forms.PrintPreviewDialog(); this.prnDocument = new System.Drawing.Printing.PrintDocument(); // The Event of 'PrintPage' prnDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(prnDocument_PrintPage); quotationBLL = new QuotationBLL(dbHelper); productBLL = new ProductBLL(dbHelper); InitializeComponent(); }