Ejemplo n.º 1
0
        public ListadoForm()
        {
            InitializeComponent();
            estadisticasDao = new EstadisticasDao();

            for (int i = Generals.getFecha().Year + 1; i >= 2000; i--)
            {
                this.AñoComboBox.Items.Add(i.ToString());
            }

            new GradoDePublicacionDao().getGradosDePublicacion().ForEach(elem => {
                this.gradoComboBox.Items.Add(elem);
            });
            this.gradoComboBox.SelectedIndex       = 1;
            this.AñoComboBox.SelectedIndex         = 0;
            this.TrimestreComboBox.SelectedIndex   = 0;
            this.EstadisticaComboBox.SelectedIndex = 0;
        }