public BinLocations() : base() { InitializeComponent(); this.toolstripChild = this.toolStripChildForm; this.fastListIndex = this.fastBinLocationIndex; this.binLocationAPIs = new BinLocationAPIs(CommonNinject.Kernel.Get <IBinLocationAPIRepository>()); this.binLocationViewModel = CommonNinject.Kernel.Get <BinLocationViewModel>(); this.binLocationViewModel.PropertyChanged += new PropertyChangedEventHandler(ModelDTO_PropertyChanged); this.baseDTO = this.binLocationViewModel; }
public virtual void BuildSelectLists(BinLocationViewModel binLocationViewModel) { binLocationViewModel.BinTypeSelectList = this.binTypeSelectListBuilder.BuildSelectListItemsForBinTypes(this.binTypeRepository.GetAllBinTypes()); }