Exemplo n.º 1
0
 /// <summary>
 /// Opens Recon for the current account
 /// </summary>
 /// <remarks>Created: Werner Scheffer 13/08/2013</remarks>
 private void btnRecon_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         ReconForm childForm = new ReconForm();
         childForm.AccountId = glxAccount.Id;
         ShowForm(childForm);
     }
     catch (Exception ex)
     {
         if (CDS.Shared.Exception.UserInterfaceExceptionHandler.HandleException(ref ex))
         {
             throw ex;
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Open a existing record
 /// </summary>
 /// <remarks>Created: Werner Scheffer 28/11/2011</remarks>
 protected override void  OnOpenRecord(long Id)
 {
     try
     {
         base.OnOpenRecord(Id);
         ReconForm childForm = new ReconForm(Id);
         ShowForm(childForm);
     }
     catch (Exception ex)
     {
         if (CDS.Shared.Exception.UserInterfaceExceptionHandler.HandleException(ref ex))
         {
             throw ex;
         }
     }
 }