Beispiel #1
0
 private void Edit(Inventory item)
 {
   using (InventoryForm form = new InventoryForm(item, false))
   {
     if (form.ShowDialog() != DialogResult.OK)
       item.RejectChanges();
   }
 }