protected override void OnNewRecord() { base.OnNewRecord(); AutomaticOrderingForm childForm = new AutomaticOrderingForm(); ShowForm(childForm); }
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; } } }