Beispiel #1
0
 void appTab_PrintEvent(object sender, PrintEventArgs e)
 {
     createPDF(e.Appointment, e.Copay);
 }
Beispiel #2
0
 protected virtual void OnPrintEvent(PrintEventArgs e)
 {
     if (PrintEvent != null)
         PrintEvent(this, e);
 }
Beispiel #3
0
 void appTab_PrintEvent(object sender, PrintEventArgs e)
 {
     createPDF(e.Appointment, e.Copay);
 }
Beispiel #4
0
        private void btnReciept_Click(object sender, EventArgs e)
        {
            Decimal copayAmount = getCopay();
            PrintEventArgs eventArgs = new PrintEventArgs((Appointment)cmbAppointments.SelectedItem, copayAmount);

            OnPrintEvent(eventArgs);
        }