public DiscountDecorator(PCComponent parent, float discount)
 {
     Component = parent;
     Discount  = discount;
 }
 public void Add(PCComponent c)
 {
     c.Parent = this;
     Children.Add(c);
 }
 public void Remove(PCComponent c)
 {
     Children.Remove(c);
     c.Parent = null;
 }
 public PCComponent(string name, float price, PCComponent parent) : this(name, price)
 {
     Parent = parent;
 }