Exemple #1
0
 public void RemoveJewelry()
 {
     Jewelries.Remove(SomeJewelry);
     GetCollections();
     if ((JewelryType.Count > 0 && SomeJewelry.Type.NameOfJewerly == JewelryType[0].Type.NameOfJewerly) ||
         JewelryType.Equals(Jewelries))
     {
         JewelryType.Remove(SomeJewelry);
     }
 }
Exemple #2
0
        public void RedactJewelry()
        {
            Jewelry jewelry = new Jewelry();

            jewelry = SomeJewelry;
            RemoveJewelry();
            Jewelries.Add(jewelry);
            GetCollections();
            if ((JewelryType.Count > 0 && jewelry.Type.NameOfJewerly == JewelryType[0].Type.NameOfJewerly) ||
                JewelryType.Equals(Jewelries))
            {
                JewelryType.Add(SomeJewelry);
            }
        }