private void gridRoles_CellContentClick(object sender, DataGridViewCellEventArgs e) { this.Hide(); ABMRol pant = new ABMRol(int.Parse(gridRoles.CurrentRow.Cells[0].Value.ToString())); pant.Show(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); ABMRol pant = new ABMRol(0); pant.Show(); }