Example #1
0
        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);
     }
 }
Example #3
0
 private void performPrint()
 {
     Printer printer = new Printer(this.context, this);
     //printer.Print(this.report.HTML);
     printer.PrintForm(this.report.HTML);
 }
Example #4
0
        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);
     }
 }
Example #6
0
 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
 }