예제 #1
0
        private void btnModificar_Click(object sender, EventArgs e)
        {
            Rol     rol = (Rol)dtgRol.CurrentRow.DataBoundItem;
            AltaRol ar  = new AltaRol(rol);

            ar.Show();
        }
예제 #2
0
        private void btnAlta_Click(object sender, EventArgs e)
        {
            AltaRol ar = new AltaRol(new Rol());

            ar.Show();
        }
 private void btnModificar_Click(object sender, EventArgs e)
 {
     Rol rol = (Rol)dtgRol.CurrentRow.DataBoundItem;
     AltaRol ar = new AltaRol(rol);
     ar.Show();
 }
 private void btnAlta_Click(object sender, EventArgs e)
 {
     AltaRol ar = new AltaRol(new Rol());
     ar.Show();
 }