Exemplo n.º 1
0
        private void editarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var          id   = int.Parse(dataGridView1.Rows[dataGridView1.SelectedCells[0].RowIndex].Cells[0].Value.ToString());
            SingleModelo form = new SingleModelo(SaveAction.Editar, _service.GetSingleTipo(id));

            form.Show();
        }
Exemplo n.º 2
0
        private void nuevoTipoDeVehículoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new SingleModelo(SaveAction.Agregar);

            form.Show();
        }