Esempio n. 1
0
 void FillComboBoxes()
 {
     foreach (var item in _prController.GetPaymentReasons())
     {
         cmbReason.Items.Add(item);
     }
     cmbReason.DataSource = _prController.GetPaymentReasons();
     cmbType.DataSource   = _ptController.GetPaymentTypes();
 }
Esempio n. 2
0
 private void FillList()
 {
     PaymentReasonType            = _paymentReasonController.GetPaymentReasons();
     dgvPaymentReasons.DataSource = PaymentReasonType;
 }