Ejemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     this.Dispose();
     Pruebas p = new Pruebas(Id, this);
     p.MdiParent = this.MdiParent;
     p.Show();
 }
Ejemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Dispose();
            Pruebas p = new Pruebas(Id, this);

            p.MdiParent = this.MdiParent;
            p.Show();
        }
Ejemplo n.º 3
0
        private void button3_Click_1(object sender, EventArgs e)
        {
            int pos = 0;
            try
            {
                pos = dataGridView1.CurrentCell.RowIndex;

            }
            catch
            {
                MessageBox.Show("Elija a alguien de la tabla");
                return;
            }

            int Id = (int)dataGridView1[7, pos].Value;
            Pruebas p = new Pruebas(Id, this);
            p.MdiParent = this.MdiParent;
            p.Show();
        }
        private void button3_Click_1(object sender, EventArgs e)
        {
            int pos = 0;

            try
            {
                pos = dataGridView1.CurrentCell.RowIndex;
            }
            catch
            {
                MessageBox.Show("Elija a alguien de la tabla");
                return;
            }

            int     Id = (int)dataGridView1[7, pos].Value;
            Pruebas p  = new Pruebas(Id, this);

            p.MdiParent = this.MdiParent;
            p.Show();
        }
Ejemplo n.º 5
0
 public verPruebas(int Id, Pruebas p)
 {
     InitializeComponent();
     this.Id = Id;
     this.p = p;
 }
Ejemplo n.º 6
0
 public AgregarPruebas(int Id, Pruebas p)
 {
     InitializeComponent();
     this.Id = Id;
     this.p  = p;
 }