Esempio n. 1
0
        private void switchParam(MainUtils.Controles param)
        {
            switch (param)
            {
            case MainUtils.Controles.ControlesEI_CPlus:
            {
                ControlesTrans.getControles("EI", "C+", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesEI_CMin:
            {
                ControlesTrans.getControles("EI", "C-", dgv_Controles);
                break;
            }
            }
            dgv_Controles.Columns[0].ReadOnly = true;
            dgv_Controles.Columns[5].DefaultCellStyle.Format = "dd/MM/yyyy";
            dgv_Controles.Columns[6].DefaultCellStyle.Format = "dd/MM/yyyy";
            dgv_Controles.Columns[0].HeaderText = "Código Control EI";
            dgv_Controles.Columns[1].HeaderText = "Tipo";
            dgv_Controles.Columns[2].HeaderText = "MxC";
            dgv_Controles.Columns[3].HeaderText = "D Optica";
            dgv_Controles.Columns[4].HeaderText = "Volumen";
            dgv_Controles.Columns[5].HeaderText = "Fecha de Inicio";
            dgv_Controles.Columns[6].HeaderText = "Fecha de Finalización";
            dgv_Controles.Columns[7].HeaderText = "Observaciones";
        }
Esempio n. 2
0
        private void switchParam(MainUtils.Controles param)
        {
            switch (param)
            {
            case MainUtils.Controles.ControlesIgM_CPA:
            {
                //Select * from Controles_IgM Where Tipo_Control = 'CPA'
                ControlesTrans.getControles("IgM", "CPA", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesIgM_CPB:
            {
                //Select * from Controles_IgM Where Tipo_Control = 'CPB'
                ControlesTrans.getControles("IgM", "CPB", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesIgM_C:
            {
                //Select * from Controles_IgM Where Tipo_Control = 'C-'
                ControlesTrans.getControles("IgM", "C-", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesIgM_CRP:
            {
                //Select * from Controles_IgM Where Tipo_Control = 'CRP'
                ControlesTrans.getControles("IgM", "CRP", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesIgM_CRN:
            {
                //Select * from Controles_IgM Where Tipo_Control = 'CRN'
                ControlesTrans.getControles("IgM", "CRN", dgv_Controles);
                break;
            }
            }
            dgv_Controles.Columns[0].ReadOnly = true;

            dgv_Controles.Columns[4].DefaultCellStyle.Format = "dd/MM/yyyy";
            dgv_Controles.Columns[5].DefaultCellStyle.Format = "dd/MM/yyyy";
            dgv_Controles.Columns[0].HeaderText = "Código Control IgM";
            dgv_Controles.Columns[1].HeaderText = "Tipo";
            dgv_Controles.Columns[2].HeaderText = "D Optica";
            dgv_Controles.Columns[3].HeaderText = "Volumen";
            dgv_Controles.Columns[4].HeaderText = "Fecha de Inicio";
            dgv_Controles.Columns[5].HeaderText = "Fecha de Finalización";
            dgv_Controles.Columns[6].HeaderText = "Observaciones";
        }
Esempio n. 3
0
        private void switchParam(MainUtils.Controles param)
        {
            switch (param)
            {
            case MainUtils.Controles.ControlesRV_CP:
            {
                //Select * from [Controles Rotavirus]Where TipoControl = 'Pos'
                ControlesTrans.getControles("RV", "Pos", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesRV_CN:
            {
                //Select * from [Controles Rotavirus] Where TipoControl = 'Neg'
                ControlesTrans.getControles("RV", "Neg", dgv_Controles);
                break;
            }
            }
            dgv_Controles.Columns[0].ReadOnly = true;

            dgv_Controles.Columns[0].HeaderText = "Código Control";
            dgv_Controles.Columns[1].HeaderText = "Tipo";
        }
Esempio n. 4
0
        private void switchParam(MainUtils.Controles param)
        {
            switch (param)
            {
            case MainUtils.Controles.ControlesIgG_CP:
            {
                // Select * from Controles_IgG Where Tipo_Control = 'C+'
                ControlesTrans.getControles("IgG", "C+", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesIgG_CN:
            {
                //Select * from Controles_IgG Where Tipo_Control = 'C-'
                ControlesTrans.getControles("IgG", "C-", dgv_Controles);
                break;
            }

            case MainUtils.Controles.ControlesIgG_CNS:
            {
                //Select * from Controles_IgG Where Tipo_Control = 'S-'
                ControlesTrans.getControles("IgG", "S-", dgv_Controles);
                break;
            }
            }
            dgv_Controles.Columns[0].ReadOnly = true;

            dgv_Controles.Columns[4].DefaultCellStyle.Format = "dd/MM/yyyy";
            dgv_Controles.Columns[5].DefaultCellStyle.Format = "dd/MM/yyyy";
            dgv_Controles.Columns[0].HeaderText = "Código Asign ContIgG";
            dgv_Controles.Columns[1].HeaderText = "Tipo Control";
            dgv_Controles.Columns[2].HeaderText = "D Optica";
            dgv_Controles.Columns[3].HeaderText = "Volumen";
            dgv_Controles.Columns[4].HeaderText = "Fecha de Inicio";
            dgv_Controles.Columns[5].HeaderText = "Fecha de Finalización";
            dgv_Controles.Columns[6].HeaderText = "Observaciones";
        }