private void btnEliminar_Click(object sender, EventArgs e) { frmEliminarAutomovil ea = new frmEliminarAutomovil(); ea.codigo = ID; ea.ShowDialog(); }
private void eliminarToolStripMenuItem1_Click(object sender, EventArgs e) { frmEliminarAutomovil ea = new frmEliminarAutomovil(); ea.Show(); }