示例#1
0
 public static bool Entfernen(ref Artikeltyp tmp)
 {
     if (_dict.Remove(tmp.ArtikeltypID))
     {
         ArtikeltypEntfernt?.Invoke(tmp, EventArgs.Empty);
         tmp = null;
         return(true);
     }
     return(false);
 }
示例#2
0
 private void Hinzufuegen(Artikeltyp tmp)
 {
     _dict.Add(tmp.ArtikeltypID, tmp);
     ArtikeltypHinzugefuegt?.Invoke(this, EventArgs.Empty);
 }