예제 #1
0
        public ValorizacionImpOrdenventaFrm(VwSocionegocio vwSocionegocioSel)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwSocionegocioSel = vwSocionegocioSel;
        }
예제 #2
0
        public EntradaalmacenImpFrm(int idEntidadMnt, VwSocionegocio vwSocionegocioSel)
        {
            InitializeComponent();
            IdEntidadMnt = idEntidadMnt;
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwSocionegocioSel = vwSocionegocioSel;
        }
예제 #3
0
        public CpventaImpValorizacionFrm(List <VwCpventadet> vwCpventadetList, VwSocionegocio vwSocionegocioSel)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwCpventadetList  = vwCpventadetList;
            VwSocionegocioSel = vwSocionegocioSel;
        }
예제 #4
0
        public OrdendeventaImpCotizaFrm(List <VwOrdendeventadet> vwOrdendeventadetList, VwSocionegocio vwSocionegocioSel)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwOrdendeventadetList = vwOrdendeventadetList;
            VwSocionegocioSel     = vwSocionegocioSel;
        }
예제 #5
0
        public NotacreditoImpCpCompraFrm(List <VwNotacreditodet> vwNotacreditodetList, VwSocionegocio vwSocionegocioSel)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwNotacreditodetList = vwNotacreditodetList;
            VwSocionegocioSel    = vwSocionegocioSel;
        }
예제 #6
0
        public CpcompraMntImpOsFrm(List <VwCpcompradet> vwCpcompradetList, VwSocionegocio vwSocionegocioSel)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwCpcompradetList = vwCpcompradetList;
            VwSocionegocioSel = vwSocionegocioSel;
        }
예제 #7
0
        public RecibocajaImpCtacteProveedorFrm(List <VwRecibocajaegresodet> vwRecibocajadetList, VwSocionegocio vwSocionegocioSel, int idTipoMoneda)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwRecibocajadetList = vwRecibocajadetList;
            VwSocionegocioSel   = vwSocionegocioSel;
            IdTipoMoneda        = idTipoMoneda;
        }
예제 #8
0
        public GuiaRemisionMntImpCpCompraFrm(List <VwGuiaremisiondet> vwGuiaremisiondetList, VwSocionegocio vwSocionegocioSel, int idTipoMoneda)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwGuiaremisiondetList = vwGuiaremisiondetList;
            VwSocionegocioSel     = vwSocionegocioSel;
            IdTipoMoneda          = idTipoMoneda;
        }
예제 #9
0
        public NotadebitocliImpCpVentaFrm(List <VwNotadebitoclidet> vwNotadebitoclidetList, VwSocionegocio vwSocionegocioSel, int idTipoMoneda)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            VwNotadebitoclidetList = vwNotadebitoclidetList;
            VwSocionegocioSel      = vwSocionegocioSel;
            IdTipoMoneda           = idTipoMoneda;
        }
예제 #10
0
        public SalidaalmacenImpGuiaRemisionFrm(Tipodocmov tipodocmov, VwSocionegocio vwSocionegocioSel, Almacen almacenSel, SalidaalmacenMntFrm salidaalmacenMntFrm)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            TipodocmovSel       = tipodocmov;
            VwSocionegocioSel   = vwSocionegocioSel;
            AlmacenSel          = almacenSel;
            SalidaalmacenMntFrm = salidaalmacenMntFrm;
        }
예제 #11
0
        public EntradaalmacenImpCpCompraFrm(Tipodocmov tipodocmov, VwSocionegocio vwSocionegocioSel, Almacen almacenSel, EntradaalmacenMntFrm entradaalmacenMntFrm)
        {
            InitializeComponent();
            var styleController = new StyleController();

            WinFormUtils.SetStyleController(this, styleController);
            TipodocmovSel        = tipodocmov;
            VwSocionegocioSel    = vwSocionegocioSel;
            AlmacenSel           = almacenSel;
            EntradaalmacenMntFrm = entradaalmacenMntFrm;
        }
예제 #12
0
        private void CargarDatosSocioNegocio(int idSocioNegocio)
        {
            VwSocionegocioSel = Service.GetVwSocionegocio(idSocioNegocio);

            if (VwSocionegocioSel != null)
            {
                beSocioNegocio.Text             = VwSocionegocioSel.Razonsocial.Trim();
                iIdsocionegocio.EditValue       = VwSocionegocioSel.Idsocionegocio;
                iIncluyeimpuestoitems.EditValue = VwSocionegocioSel.Incluyeigvitems;
                rNroDocPersona.EditValue        = VwSocionegocioSel.Nrodocentidadprincipal;
            }
        }
예제 #13
0
        private void RetornarSocioNegocioSeleccionado()
        {
            if (gvSocioNegocio.RowCount == 0)
            {
                XtraMessageBox.Show("No ha seleccionado un registro.", "Atención", MessageBoxButtons.OK,
                                    MessageBoxIcon.Exclamation);
                return;
            }

            VwSocionegocioSel = (VwSocionegocio)gvSocioNegocio.GetFocusedRow();
            DialogResult      = DialogResult.OK;
        }
예제 #14
0
        private void iIdproveedor_EditValueChanged(object sender, EventArgs e)
        {
            var idSocioNegocioSel = iIdproveedor.EditValue;

            if (TipoMnt == TipoMantenimiento.Nuevo && idSocioNegocioSel != null)
            {
                VwSocionegocio vwSocionegocioSel = VwSocionegocioList.FirstOrDefault(x => x.Idsocionegocio == (int)idSocioNegocioSel);
                if (vwSocionegocioSel != null)
                {
                    // iIdtipocondicion.EditValue = vwSocionegocioSel.Idtipocondicion;
                }
            }
        }
예제 #15
0
        private void iIdclienteconyugue_EditValueChanged(object sender, EventArgs e)
        {
            var iidClienteConyugue = iIdclienteconyugue.EditValue;

            if (iidClienteConyugue != null)
            {
                VwSocionegocio vwSocionegocio = Service.GetVwSocionegocio((int)iidClienteConyugue);
                if (vwSocionegocio != null)
                {
                    beConyugue.Text           = vwSocionegocio.Razonsocial;
                    rNroDocConyugue.EditValue = string.Format("{0} {1}", vwSocionegocio.Abreviaturadocentidad, vwSocionegocio.Nrodocentidadprincipal);
                    rSexoConyugue.EditValue   = vwSocionegocio.Sexo;
                }
            }
        }
예제 #16
0
        private void iIdsocionegocio_EditValueChanged(object sender, EventArgs e)
        {
            var idSocioNegocioMnt = iIdsocionegocio.EditValue;

            if (idSocioNegocioMnt == null || (int)idSocioNegocioMnt <= 0)
            {
                return;
            }

            VwSocionegocio vwSocionegocioSel = Service.GetVwSocionegocio((int)idSocioNegocioMnt);

            if (vwSocionegocioSel != null)
            {
                beSocioNegocio.Text       = vwSocionegocioSel.Razonsocial.Trim();
                iIdsocionegocio.EditValue = vwSocionegocioSel.Idsocionegocio;
            }
        }
예제 #17
0
        private void iIdpacientetitular_EditValueChanged(object sender, EventArgs e)
        {
            var iidClienteTitulaar = iIdpacientetitular.EditValue;

            if (iidClienteTitulaar != null)
            {
                VwSocionegocio vwSocionegocio = Service.GetVwSocionegocio((int)iidClienteTitulaar);
                if (vwSocionegocio != null)
                {
                    beClienteTitular.Text      = vwSocionegocio.Razonsocial;
                    rNroDocTitular.EditValue   = string.Format("{0} {1}", vwSocionegocio.Abreviaturadocentidad, vwSocionegocio.Nrodocentidadprincipal);
                    rSexoTitular.EditValue     = vwSocionegocio.Sexo;
                    rMovil.EditValue           = vwSocionegocio.Movil;
                    rTelefono.EditValue        = vwSocionegocio.Telefono;
                    rEmailcliente.EditValue    = vwSocionegocio.Email;
                    iDireccionfiscal.EditValue = vwSocionegocio.Direccionfiscal;
                }
            }
        }
예제 #18
0
 public CpVentaImpGuiaRemisionFrm(List <VwCpventadet> vwCpventadetList, VwSocionegocio vwSocionegocioSel)
 {
     InitializeComponent();
     VwCpventadetList  = vwCpventadetList;
     VwSocionegocioSel = vwSocionegocioSel;
 }
예제 #19
0
 private void btnClose_Click(object sender, EventArgs e)
 {
     VwSocionegocioSel = null;
     DialogResult      = DialogResult.Cancel;
 }