Exemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            int pos = 0;
            try
            {
                pos = dataGridView1.CurrentCell.RowIndex;
                int dataPos = (int)dataGridView1[0, pos].Value;

                DetallesPerfil dtp = new DetallesPerfil(dataPos, this);
                dtp.MdiParent = this.MdiParent;
                dtp.Show();
                this.Dispose();
            }
            catch { MessageBox.Show("Seleccione un perfil de la tabla"); }
        }
Exemplo n.º 2
0
 public DetallesRep(int Id, DetallesPerfil d)
 {
     InitializeComponent();
     this.Id = Id;
     this.d = d;
 }