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

            p.MdiParent = this.MdiParent;
            p.Show();
        }
예제 #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();
        }
예제 #5
0
 public verPruebas(int Id, Pruebas p)
 {
     InitializeComponent();
     this.Id = Id;
     this.p = p;
 }
예제 #6
0
 public AgregarPruebas(int Id, Pruebas p)
 {
     InitializeComponent();
     this.Id = Id;
     this.p  = p;
 }