Beispiel #1
0
        protected virtual void SelectExpedientAction()
        {
            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                SetExpedient((ExpedientInfo)form.Selected);
            }
        }
        private void Expediente_BT_Click(object sender, EventArgs e)
        {
            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                _entry_expedient   = form.Selected as ExpedientInfo;
                Expediente_TB.Text = _entry_expedient.Codigo;
            }
        }
        protected virtual void SelectExpedienteAction()
        {
            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                SetExpediente((ExpedientInfo)form.Selected);
                _entity.SetExpediente(_expediente);
                RefreshLineas();
            }
        }
        private void Expediente_BT_Click(object sender, EventArgs e)
        {
            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                _expediente        = form.Selected as ExpedientInfo;
                _tipo_expediente   = moleQule.Store.Structs.ETipoExpediente.Todos;
                Expediente_TB.Text = _expediente.Codigo;
            }
        }
        protected override void SelectExpedienteLineaAction()
        {
            if (Datos_Lineas.Current == null)
            {
                return;
            }

            LineaPedidoProveedor item = Datos_Lineas.Current as LineaPedidoProveedor;

            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                ExpedientInfo source = (ExpedientInfo)form.Selected;

                item.OidExpediente = source.Oid;
                item.Expediente    = source.Codigo;

                RefreshLineas();
            }
        }
Beispiel #6
0
        protected override void SelectLineExpedientAction()
        {
            if (Lines_BS.Current == null)
            {
                return;
            }

            InputDeliveryLine item = Lines_BS.Current as InputDeliveryLine;

            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                ExpedientInfo source = (ExpedientInfo)form.Selected;

                item.OidExpediente = source.Oid;
                item.Expediente    = source.Codigo;

                AddCacheItem(source);
            }
        }
        protected override void SelectExpedienteLineaAction()
        {
            if (Datos_Lineas.Current == null)
            {
                return;
            }

            InputInvoiceLine item = Datos_Lineas.Current as InputInvoiceLine;

            ExpedienteSelectForm form = new ExpedienteSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                ExpedientInfo source = (ExpedientInfo)form.Selected;

                item.OidExpediente = source.Oid;
                item.Expediente    = source.Codigo;

                RefreshLineas();

                //AddCacheItem(source);
            }
        }