Ejemplo n.º 1
0
        public ProductionModel(IProductionView view, IWizard wizard)
        {
            this.view = view;
            // This reads the folder with VMSizes in, formatting the names into a list
            // and delivering the to the UI to be drawn in the combo box
            FileEnumerator FileEnum = makeFileEnumerator();
            view.SetVmSizes(FileEnum.Enumerate(ConfigurationManager.AppSettings["VMSizesFolder"]));

            ITabNavigation navView = castNavigationView(view);
            navView.RegisterNext(NextHandler, TabNumber);
            navView.RegisterPrevious(PreviousHandler, TabNumber);

            this.wizard = wizard;
        }
Ejemplo n.º 2
0
 protected virtual ITabNavigation castNavigationView(IProductionView view)
 {
     return (ITabNavigation)view;
 }