예제 #1
0
        private void Modifica_Click(object sender, EventArgs e)
        {
            FormGestione dialogAddMod = new FormGestione(this, ListBoxV.SelectedIndex);

            if (dialogAddMod.ShowDialog() == DialogResult.OK)
            {
                dbUtils.CreateBackup(dbFilePath);
                listUtils.UpdateDb(ListaVeicoli, connectStr);
                Start();
            }
        }
예제 #2
0
        private void Nuovo_Click(object sender, EventArgs e)
        {
            FormGestione dialogAddMod = new FormGestione(this);

            dialogAddMod.ShowDialog();
        }