Пример #1
0
 public MainBoard(StockData myStock)
 {
     stock = myStock;
     stock.registerObserver(this);
 }
 public SubBoard1(StockData myStock)
 {
     stock = myStock;
     stock.registerObserver(this);
 }