public UIClient() { InitializeComponent(); _inputManager = new WinFormInputManager(); _outputManager = new WinFormOutputManager { OutSource = errorLabel }; _safeExecuteManager = new SafeExecuteManager(_outputManager); _downloadManager = new HttpDownloadManager(); }
public UIClient() { InitializeComponent(); _outputManager = new WinFormOutputManager { OutSource = errorLabel }; _safeExecuteManager = new SafeExecuteManager(_outputManager); _orderService = new OrderService(); _productsService = new ProductsService(); productsListBox.DataSource = _productsService.GetAllProducts(); _order = new Order(); }