Пример #1
0
 // <summary>
 /// Get the paid by owner name for the payment form.
 /// </summary>
 private void GetPaidByOwnerName()
 {
     try
     {
         var f15110s = this.ParentForm.Controls.Find("F15110", true);
         if (f15110s.Length > 0)
         {
             f15110 = (F15110)f15110s[0];
         }
         if (f15110 != null)
         {
             f15110.FillUserName(paidownerID, ownerName);
         }
     }
     catch (Exception ex)
     {
     }
 }
Пример #2
0
 /// <summary>
 /// deActivates the payment button in Master form according to the conditions specified.
 /// </summary>
 private void EditModeDisabled()
 {
     try
     {
         var f15110s = this.ParentForm.Controls.Find("F15110", true);
         if (f15110s.Length > 0)
         {
             f15110 = (F15110)f15110s[0];
         }
         if (f15110 != null)
         {
             f15110.DisableManagePaymentButton();
         }
     }
     catch (Exception ex)
     {
         ExceptionManager.ManageException(ex, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm);
     }
 }