Beispiel #1
0
        private void txt_OdemeTipi_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            if (e.Button.Index == 1)
            {
                frmPaymnetList frm = new frmPaymnetList();
                frm.ShowDialog();
                _list_PaymnetType = _repository.Run <DefinitionsService, List <PaymentTypeDTO> >(x => x.GetListPayments());

                bs_PaymentType.DataSource = _list_PaymnetType;
            }
        }
Beispiel #2
0
 private void lc_OdemeTuru_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         try
         {
             frmPaymnetList frm = new frmPaymnetList();
             frm.ShowDialog();
         }
         catch (Exception ex)
         {
         }
         finally
         {
             do_OdemeTuru();
         }
     }
 }