public OrderForm() { InitializeComponent(); InitializeProductsQuantityHash(); CandyStoreUtil.SetAutoCompleteOnComboBoxes(this); CandyStoreUtil.MakeLabelsTransparent(this); _orderService = new OrderServiceSoapClient(); _productsBySupplierHash = new Dictionary <SupplierDto, List <ProductDto> >(); }
public OrderView(IOrderPresenter orderPresenter) { InitializeComponent(); InitializeProductsQuantityHash(); CandyStoreUtil.SetAutoCompleteOnComboBoxes(this); CandyStoreUtil.MakeLabelsTransparent(this); Presenter = orderPresenter; Presenter.View = this; _productsBySupplierHash = new Dictionary <SupplierDto, List <ProductDto> >(); }