Example #1
0
        private double RetornarDANECiudadPueblo()
        {
            double ValorDANE;

            ValorDANE = GastosDANE.RetornarDANECiudadPueblo(this.formVariablesAnalisisComercial.rbtnCiudad.Checked, Convert.ToDouble(this.formVariablesAnalisisComercial.tbxIngresos.Text));
            return(ValorDANE);
        }
Example #2
0
        private double RetornarDANECiudadPueblo()
        {
            double ValorDANE;

            ValorDANE = GastosDANE.RetornarDANECiudadPueblo(this.radioButtonCiudad.Checked, this.ingresos);
            return(ValorDANE);
        }
Example #3
0
        private double RetornarDANEVivienda()
        {
            double ValorDANEVivienda = 0;

            if (this.formVariablesAnalisisComercial.rbtnCiudad.Checked == true)
            {
                if (this.formVariablesAnalisisComercial.cbxVivienda.Text == "Arrendada")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaCiudad(true, Convert.ToDouble(this.formVariablesAnalisisComercial.tbxIngresos.Text));
                }
                else if (this.formVariablesAnalisisComercial.cbxVivienda.Text == "Familiar")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaCiudad(false, Convert.ToDouble(this.formVariablesAnalisisComercial.tbxIngresos.Text));
                }
                else
                {
                    ValorDANEVivienda = 0;
                }
            }
            else if (this.formVariablesAnalisisComercial.rbtnCiudad.Checked == false)
            {
                if (this.formVariablesAnalisisComercial.cbxVivienda.Text == "Arrendada")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaPueblo(true, Convert.ToDouble(this.formVariablesAnalisisComercial.tbxIngresos.Text));
                }
                else if (this.formVariablesAnalisisComercial.cbxVivienda.Text == "Familiar")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaPueblo(false, Convert.ToDouble(this.formVariablesAnalisisComercial.tbxIngresos.Text));
                }
                else
                {
                    ValorDANEVivienda = 0;
                }
            }
            return(ValorDANEVivienda);
        }
Example #4
0
        private double RetornarDANEVivienda()
        {
            double ValorDANEVivienda = 0;

            if (this.radioButtonCiudad.Checked == true)
            {
                if (this.comboBoxVivienda.Text == "Arrendada")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaCiudad(true, this.ingresos);
                }
                else if (this.comboBoxVivienda.Text == "Familiar")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaCiudad(false, this.ingresos);
                }
                else
                {
                    ValorDANEVivienda = 0;
                }
            }
            else if (this.radioButtonCiudad.Checked == false)
            {
                if (this.comboBoxVivienda.Text == "Arrendada")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaPueblo(true, this.ingresos);
                }
                else if (this.comboBoxVivienda.Text == "Familiar")
                {
                    ValorDANEVivienda = GastosDANE.RetornarDANEViviendaPueblo(false, this.ingresos);
                }
                else
                {
                    ValorDANEVivienda = 0;
                }
            }
            return(ValorDANEVivienda);
        }