Ejemplo n.º 1
0
 private void txtBillNum_ButtonCustomClick(object sender, EventArgs e)
 {
     try
     {
         var frm = new FrmQrySourceBill(_billType);
         frm.ShowDialog();
         if (frm.DialogResult != DialogResult.OK)
         {
             return;
         }
         SourceBill = frm.SelectedSourceBill;
         BillNum    = SourceBill.SourceBillMaster.BillNum;
     }
     catch (Exception ex)
     {
         BLMUtils.ShowError(ex.Message);
     }
 }
Ejemplo n.º 2
0
 private void txtBillNum_BtnClick(object sender, EventArgs e)
 {
     try
     {
         var frm = new FrmQrySourceBill(BillType);
         frm.ShowDialog();
         if (frm.DialogResult != DialogResult.OK)
         {
             return;
         }
         var sourceBill = frm.SelectedSourceBill;
         SetValues(sourceBill.SourceBillMaster);
         if (BtnClick != null)
         {
             BtnClick(sender, e);
         }
     }
     catch (Exception ex)
     {
         BLMUtils.ShowError(ex.Message);
     }
 }