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)
                                       );
 }
Beispiel #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));
 }
Beispiel #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)
         );
 }
Beispiel #7
0
        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)
                                       );
 }
Beispiel #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
                                              );
        }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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"));
 }
Beispiel #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"));
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }