private void performPrint() { Printer printer = new Printer(this.context, this); //printer.Print(this.report.HTML); printer.PrintForm(this.report.HTML); }
private void buttonPrint_Click(object sender, EventArgs e) { try { Statement statement = getStatement(); Printer printer = new Printer(this.context, this); printer.PrintForm(statement.HTML); } catch (Exception ex) { Tools.ShowError("Unable to print statement\n" + ex.Message); } }
private void performPrint() { Printer printer = new Printer(this.context, this); //printer.Print(this.report.HTML); printer.PrintForm(this.report.HTML); }
private void performPrint() { Printer printer = new Printer(this.context, this); printer.PrintForm(invoice.HTMLPreview, invoice.HTML); //we do printform, otherwise the form unloads before printpreview shown }
private void buttonPrint_Click(object sender, EventArgs e) { try { Statement statement = getStatement(); Printer printer = new Printer(this.context, this); printer.PrintForm(statement.HTML); } catch (Exception ex) { Tools.ShowError("Unable to print statement\n" + ex.Message); } }
private void performPrint() { Printer printer = new Printer(this.context, this); printer.PrintForm(invoice.HTMLPreview, invoice.HTML); //we do printform, otherwise the form unloads before printpreview shown }