protected override void OnNewRecord() { base.OnNewRecord(); PrinterForm childform = new PrinterForm(); ShowForm(childform); }
protected override void OnOpenRecord(long Id) { try { base.OnOpenRecord(Id); if (Id != -1) { PrinterForm childForm = new PrinterForm(Id); ShowForm(childForm); } } catch (Exception ex) { if (CDS.Shared.Exception.UserInterfaceExceptionHandler.HandleException(ref ex)) { throw ex; } } }