Esempio n. 1
0
        protected override void OnNewRecord()
        {
            base.OnNewRecord();

            SurchargeForm childform = new SurchargeForm();

            ShowForm(childform);
        }
Esempio n. 2
0
 protected override void OnOpenRecord(long Id)
 {
     try
     {
         base.OnOpenRecord(Id);
         SurchargeForm childForm = new SurchargeForm(Id);
         ShowForm(childForm);
     }
     catch (Exception ex)
     {
         if (CDS.Shared.Exception.UserInterfaceExceptionHandler.HandleException(ref ex))
         {
             throw ex;
         }
     }
 }