示例#1
0
        public frmOperacionesCursos(frmGestionarModuloAdmin formGestionarModuloAdmin, frmPlantillaGestion formPlantillaGest)
        {
            this.formGestionarModuloAdmin = formGestionarModuloAdmin;
            this.formPlantillaGest        = formPlantillaGest;
            this.daoCurso       = new CursoWS.CursoWSClient();
            this.daoGrupo       = new GrupoWS.GrupoWSClient();
            this.daoSemana      = new SemanaWS.SemanaWSClient();
            this.daoPsicologo   = new PsicologoWS.PsicologoWSClient();
            this.daoUsuario     = new UsuarioWS.UsuarioWSClient();
            this.DoubleBuffered = true;
            InitializeComponent();

            Design.Ini(this);
            if (Design.tema == 'd')
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.DARK;
            }
            else
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.LIGHT;
            }
            dgvCursos.AutoGenerateColumns = false;
            dgvCursos.SelectionMode       = DataGridViewSelectionMode.FullRowSelect;
            btnReporte.Visible            = false;
            FetchCursos();
            UpdateCursosTable();
        }
示例#2
0
        public frmInsertarCurso(frmOperacionesCursos formOperacionesCursos, frmPlantillaGestion formPlantillaGest)
        {
            this.DoubleBuffered        = true;
            this.formPlantillaGest     = formPlantillaGest;
            this.formOperacionesCursos = formOperacionesCursos;

            daoCurso     = new CursoWS.CursoWSClient();
            daoGrupo     = new GrupoWS.GrupoWSClient();
            daoSemana    = new SemanaWS.SemanaWSClient();
            daoPsicologo = new PsicologoWS.PsicologoWSClient();

            InitializeComponent();

            Design.Ini(this);
            if (Design.tema == 'd')
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.DARK;
            }
            else
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.LIGHT;
            }
            //dgvReq.AutoGenerateColumns = false;
            //dgvReq.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            btnModificar.Visible = false;
            btnModificar.Enabled = false;
            curso = new CursoWS.curso();
            inicializarPantalla();

            //
            dtpFechaInicial.MinDate = DateTime.Now;
            //
        }
示例#3
0
        public frmInsertarPsicologo(frmOperacionesPersona formOperacionPersona, frmPlantillaGestion formPlantilla)
        {
            this.DoubleBuffered = true;
            InitializeComponent();

            Design.Ini(this);
            if (Design.tema == 'd')
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.DARK;
            }
            else
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.LIGHT;
            }
            this.formPlantilla        = formPlantilla;
            this.formOperacionPersona = formOperacionPersona;
            daoPsicologo = new PsicologoWS.PsicologoWSClient();
            daoUsuario   = new UsuarioWS.UsuarioWSClient();

            daoTutor     = new TutorWS.TutorWSClient();
            daoPsicologo = new PsicologoWS.PsicologoWSClient();

            txtDistrito.ReadOnly = true;
            inicializarComponentes();
        }
示例#4
0
        public frmOperacionesPersona(frmGestionarModuloAdmin formGestionarModulos, frmPlantillaGestion formPlantilla)
        {
            this.DoubleBuffered = true;
            InitializeComponent();
            Design.Ini(this);
            if (Design.tema == 'd')
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.DARK;
            }
            else
            {
                ThemeManager.Theme = MaterialSkinManager.Themes.LIGHT;
            }

            daoTutor     = new TutorWS.TutorWSClient();
            daoPsicologo = new PsicologoWS.PsicologoWSClient();

            this.formPlantilla        = formPlantilla;
            this.formGestionarModulos = formGestionarModulos;

            inicializarTablas();
        }