コード例 #1
0
        public override void OpenAddForm()
        {
            InputDeliveryAddForm form = new InputDeliveryAddForm(this, _tipo);

            AddForm(form);
            if (form.ActionResult == DialogResult.OK)
            {
                _entity = form.Entity;
            }
        }
コード例 #2
0
        public override void CopyObjectAction(long oid)
        {
            InputDeliveryAddForm form = new InputDeliveryAddForm(InputDelivery.CloneAsNew(ActiveItem), this);

            AddForm(form);
            if (form.ActionResult == DialogResult.OK)
            {
                _entity = form.Entity;
            }
        }
コード例 #3
0
        protected virtual void CrearAlbaranAction()
        {
            if (_entity.EEstado != moleQule.Base.EEstado.Abierto)
            {
                return;
            }

            ExecuteAction(molAction.Save);

            if (_action_result == DialogResult.OK)
            {
                _acreedor = Datos_Acreedor.DataSource as IAcreedorInfo;

                InputDeliveryAddForm form = new InputDeliveryAddForm(_acreedor, _entity.GetInfo(), this);
                form.ShowDialog();
            }
        }