Пример #1
0
 public StockForm()
 {
     InitializeComponent();
     _stockController           = ContextRegistry.GetContext()["StockController"] as StockController;
     _stockController.StockForm = this;
 }
Пример #2
0
 public StockForm()
 {
     InitializeComponent();
     _stockController = ContextRegistry.GetContext()["StockController"] as StockController;
     _stockController.StockForm = this;
 }