public Resultados(int IdPrueba, int IdCandidato, ResultadosPrueba r)
 {
     InitializeComponent();
     this.IdPrueba    = IdPrueba;
     this.IdCandidato = IdCandidato;
     this.r           = r;
 }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            int pos = 0;
            try
            {
                pos = dataGridView1.CurrentCell.RowIndex;
                int idPrueba = (int)dataGridView1[0, pos].Value;

                ResultadosPrueba ed = new ResultadosPrueba(idPrueba, this);
                ed.MdiParent = this.MdiParent;
                ed.Show();
                this.Hide();

            }
            catch { MessageBox.Show("Primero seleccione a una de la tabla"); }
        }
Esempio n. 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            int pos = 0;

            try
            {
                pos = dataGridView1.CurrentCell.RowIndex;
                int idPrueba = (int)dataGridView1[0, pos].Value;


                ResultadosPrueba ed = new ResultadosPrueba(idPrueba, this);
                ed.MdiParent = this.MdiParent;
                ed.Show();
                this.Hide();
            }
            catch { MessageBox.Show("Primero seleccione a una de la tabla"); }
        }