Example #1
0
        protected override void OnNewRecord()
        {
            base.OnNewRecord();

            AutomaticOrderingForm childForm = new AutomaticOrderingForm();

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