private void dgvTipoEquipo_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { DataGridViewRow row = this.dgvTipoEquipo.SelectedRows[0]; Tipos_Equipos tipoEquipo = new Tipos_Equipos(); tipoEquipo.ID = Int32.Parse(row.Cells[0].Value.ToString()); tipoEquipo.Descripcion = row.Cells[1].Value.ToString(); FrmMantTipoEquipos fed = new FrmMantTipoEquipos(); fed.tipoEquipo = tipoEquipo; fed.ShowDialog(); }
private void tiposDeEquiposToolStripMenuItem_Click(object sender, EventArgs e) { FrmMantTipoEquipos frm = new FrmMantTipoEquipos(); frm.ShowDialog(); }