예제 #1
0
        private void but_libro_consultar_Click(object sender, EventArgs e)
        {
            if (this.validar_datos())
            {
                bi.v_DnombreMateria = com_materia.SelectedItem.ToString();
                bi.v_año            = Convert.ToInt32(tex_año.Text);
                bi.v_Dsemestre      = com_semestre.SelectedItem.ToString();
                bi.v_descripcion    = tex_descripcion.Text;

                this.ocultar_Pantalla();

                frm_bibliografia_libro_con FRM_BIBLIOGRAFIA_LIBRO_CON = new frm_bibliografia_libro_con(
                    bi.v_usuario_so,
                    bi.v_DnombreMateria,
                    bi.v_año,
                    bi.v_Dsemestre,
                    bi.v_descripcion);

                FRM_BIBLIOGRAFIA_LIBRO_CON.ShowDialog();

                this.mostrar_Pantalla();
            }
        }
        private void but_libro_consultar_Click(object sender, EventArgs e)
        {
            if (this.validar_datos())
            {
                bi.v_DnombreMateria = com_materia.SelectedItem.ToString();
                bi.v_año = Convert.ToInt32(tex_año.Text);
                bi.v_Dsemestre = com_semestre.SelectedItem.ToString();
                bi.v_descripcion = tex_descripcion.Text;

                Clicbut_libro_asignar = true;
                this.ocultar_Pantalla();

                frm_bibliografia_libro_con FRM_BIBLIOGRAFIA_LIBRO_CON = new frm_bibliografia_libro_con(
                    this.usuario,
                    bi.v_DnombreMateria,
                    bi.v_año,
                    bi.v_Dsemestre,
                    bi.v_descripcion);

                FRM_BIBLIOGRAFIA_LIBRO_CON.ShowDialog();

                this.mostrar_Pantalla();
            }
        }