Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public virtual void BuildSelectLists(BinLocationViewModel binLocationViewModel)
 {
     binLocationViewModel.BinTypeSelectList = this.binTypeSelectListBuilder.BuildSelectListItemsForBinTypes(this.binTypeRepository.GetAllBinTypes());
 }