Esempio n. 1
0
        private void ajouterMarqueButton_Click(object sender, EventArgs e)
        {
            FormSaveMarque saveMarque = new FormSaveMarque();

            saveMarque.ShowDialog(this);
            LoadMarques();
        }
Esempio n. 2
0
 private void modifierMarqueButton_Click(object sender, EventArgs e)
 {
     if (marqueListView.SelectedIndices.Count > 0)
     {
         int            aIndex     = marqueListView.SelectedIndices[0];
         FormSaveMarque saveMarque = new FormSaveMarque(marques[aIndex]);
         saveMarque.ShowDialog(this);
         LoadMarques();
     }
 }