private void butPrint_Click(object sender, EventArgs e)
 {
     _gridPageCur       = 0;
     _gridPrintProgress = EraProcPrintingProgress.DocumentHeader;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Printed 835 Procedure") + ((_proc.ProcNum == 0)?"":(" " + _proc.ProcNum)),
                                       printoutOrientation: PrintoutOrientation.Landscape);
 }
 private void butPrint_Click(object sender, EventArgs e)
 {
     _pagesPrintedCount = 0;
     _isHeadingPrinted  = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage,
                                       Lan.g(this, "Electronic remittance advice (ERA) printed"),
                                       PrintoutOrientation.Portrait,
                                       margins: new Margins(25, 25, 50, 50)
                                       );
 }
Exemple #3
0
 private void butPrint_Click(object sender,EventArgs e)
 {
     if(gridMain.ListGridRows.Count<1) {
         MsgBox.Show(this,"Supply list is Empty.");
         return;
     }
     pagesPrinted=0;
     headingPrinted=false;
     PrinterL.TryPrintOrDebugRpPreview(pd2_PrintPage,Lan.g(this,"Supplies list printed"),margins:new Margins(50,50,40,30));
 }
Exemple #4
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     if (gridMain.ListGridRows.Count < 1)
     {
         MsgBox.Show(this, "Nothing to print.");
         return;
     }
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Lab case list printed"), PrintoutOrientation.Landscape);
 }
 private void butPrint_Click(object sender, EventArgs e)
 {
     if (gridMain.ListGridRows.Count == 0)
     {
         MsgBox.Show(this, "Grid is empty.");
         return;
     }
     _pagesPrinted   = 0;
     _headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Service date view printed"), PrintoutOrientation.Landscape);
 }
 private void butPrint_Click(object sender, EventArgs e)
 {
     if (_tableOrderItems.Rows.Count < 1)
     {
         MsgBox.Show(this, "Supply list is Empty.");
         return;
     }
     _pagesPrinted   = 0;
     _headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(
         pd2_PrintPage,
         Lan.g(this, "Supplies order from") + " " + _listSupplyOrders[gridOrders.GetSelectedIndex()].DatePlaced.ToShortDateString() + " " + Lan.g(this, "printed"),
         margins: new Margins(50, 50, 40, 30)
         );
 }
        private void butPrint_Click(object sender, EventArgs e)
        {
            linesPrinted = 0;
            bool isPrinted = PrinterL.TryPrintOrDebugRpPreview(pd2_PrintPage,
                                                               Lan.g(this, "Etrans message text from") + " " + EtransCur.DateTimeTrans.ToShortDateString() + " " + Lan.g(this, "printed"),
                                                               auditPatNum: EtransCur.PatNum,
                                                               margins: new Margins(75, 75, 50, 100)
                                                               );

            if (!isPrinted)
            {
                return;
            }
            EtransCur.Note = Lan.g(this, "Printed") + textNote.Text;
            Etranss.Update(EtransCur);
            DialogResult = DialogResult.OK;
        }
 private void butPrint_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(_htmlResponse))
     {
         FormWebBrowser formWB = new FormWebBrowser(htmlContent: _htmlResponse);
         formWB.Show();
         return;
     }
     //only visible in Message mode.
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage,
                                       Lan.g(this, "Electronic benefit request from") + " " + EtransCur.DateTimeTrans.ToShortDateString() + " " + Lan.g(this, "printed"),
                                       auditPatNum: EtransCur.PatNum,
                                       margins: new Margins(25, 25, 40, 80)
                                       );
 }
Exemple #9
0
        private void Print_Click()
        {
            _pagesPrinted   = 0;
            _headingPrinted = false;
            gridMainPrint   = new ODGrid()
            {
                Width = 1050, TranslationName = "", HideScrollBars = true
            };
            FillGrid(isPrinting: true);           //not nessecary to explicity name parameter but makes code easier to read.
            PrintoutOrientation orient = PrintoutOrientation.Default;

            if (gridMainPrint.WidthAllColumns > 800)
            {
                orient = PrintoutOrientation.Landscape;
            }
            PrinterL.TryPrintOrDebugRpPreview(pd2_PrintPage,
                                              Lan.g(this, "Accounting transaction history for") + " " + _acctCur.Description + " " + Lan.g(this, "printed"),
                                              printoutOrientation: orient
                                              );
        }
Exemple #10
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     _pagesPrinted = 0;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, "Web Chat Survey Report", PrintoutOrientation.Landscape);
 }
 private void butPrint_Click(object sender, EventArgs e)
 {
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Supplies needed list printed"), PrintoutOrientation.Portrait);
 }
Exemple #12
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Treatment finder list printed"), PrintoutOrientation.Landscape);
 }
Exemple #13
0
 private void butPrintList_Click(object sender, EventArgs e)
 {
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "CreditCard recurring charges list printed"), PrintoutOrientation.Landscape);
 }
 //Copied from FormRpOutstandingIns.cs
 private void butPrint_Click(object sender, EventArgs e)
 {
     _pagesPrinted   = 0;
     _headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Outstanding insurance report printed"));
 }
		private void butPrint_Click(object sender,EventArgs e) {
			_pagesPrinted=0;
			_hasHeadingPrinted=false;
			PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage,Lan.g(this,"Operatory Merge - conflict appointment List printed."));
		}
 private void butPrint_Click(object sender, EventArgs e)
 {
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Patient List Printed"));
 }
Exemple #17
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Payroll benefits report printed."));
 }
 private void butPrint_Click(object sender, EventArgs e)
 {
     _pagesPrinted   = 0;
     _headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Printed patient list from EHR"));
 }
Exemple #19
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Unscheduled appointment list printed"));
 }
 private void PrintPatientInfo()
 {
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Patient portal login information printed"), auditPatNum: _patCur.PatNum);
 }
Exemple #21
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     pagesPrinted   = 0;
     headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Referred procedure tracking list printed"), PrintoutOrientation.Portrait);
 }
 //Copied from FormRpOutstandingIns.cs
 private void butPrint_Click(object sender, EventArgs e)
 {
     _pagesPrinted   = 0;
     _headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Unfinalized Payment report printed"), PrintoutOrientation.Landscape);
 }
Exemple #23
0
 private void butPrint_Click(object sender, EventArgs e)
 {
     _pagesPrinted   = 0;
     _headingPrinted = false;
     PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Incomplete Procedure Notes report printed"), PrintoutOrientation.Landscape);
 }