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

            PrinterForm childform = new PrinterForm();

            ShowForm(childform);
        }
Ejemplo n.º 2
0
        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;
                }
            }
        }