示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            int pos = 0;
            try
            {
                pos = dataGridView1.CurrentCell.RowIndex;
                int d = (int)dataGridView1[2, pos].Value;

                verPruebas a = new verPruebas(d, this);
                a.MdiParent = this.MdiParent;
                a.Show();
                this.Hide();
            }
            catch { MessageBox.Show("Primero seleccione a alguien de la tabla"); }
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            int pos = 0;

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

                verPruebas a = new verPruebas(d, this);
                a.MdiParent = this.MdiParent;
                a.Show();
                this.Hide();
            }
            catch { MessageBox.Show("Primero seleccione a alguien de la tabla"); }
        }
 public ResultadosPrueba(int Id, verPruebas v)
 {
     InitializeComponent();
     this.Id = Id;
     this.v  = v;
 }
 public ResultadosPrueba(int Id, verPruebas v)
 {
     InitializeComponent();
     this.Id = Id;
     this.v = v;
 }