public BusyService(IRegionManager regionManager, IRegionNames regionNames) { _regionNames = regionNames; _regionManager = regionManager; IsBusy = false; //Color color = new Color { A = 255, R = 255, B = 0, G = 255 }; // yellow //Color color = new Color { A = 255, R = 0, B = 0, G = 255 }; // green //Color color = new Color { A = 255, R = 16, B = 128, G = 80}; // blue shade //BusyControl = new FlowerLoadingControl { Visibility = Visibility.Collapsed, PetalBrush = new SolidColorBrush(color), Caption = "Loading, please wait ..." }; }
public BusyService(IRegionManager regionManager, IRegionNames regionNames) { _regionNames = regionNames; _regionManager = regionManager; IsBusy = false; ApplicationCommands.SystemBusy.RegisterCommand(new DelegateCommand <string>(ShowBusy)); ApplicationCommands.SystemIdle.RegisterCommand(new DelegateCommand <object>(HideBusy)); //Color color = new Color { A = 255, R = 255, B = 0, G = 255 }; // yellow //Color color = new Color { A = 255, R = 0, B = 0, G = 255 }; // green //Color color = new Color { A = 255, R = 16, B = 128, G = 80}; // blue shade //BusyControl = new FlowerLoadingControl { Visibility = Visibility.Collapsed, PetalBrush = new SolidColorBrush(color), Caption = "Loading, please wait ..." }; }
public ScreenConductor(IScreenFactoryRegistry factoryRegistry , IRegionManager regionManager , IAppSettings appSettings , IUserSession userSession , IBusyService busyService , ITransitionService transitionService , IRegionNames regionNames) { _factoryRegistry = factoryRegistry; _regionManager = regionManager; _appSettings = appSettings; // _busyService = busyService; _screenDictionary = new Dictionary <Guid, IScreen>(); _userSession = userSession; _busyService = busyService; _transitionService = transitionService; _regionNames = regionNames; WireUpEvents(); }
public ForecastScreenFactory(IRegionNames regionNames, IUnityContainer unityContainer) { _regionNames = regionNames; _unityContainer = unityContainer; }
public AppSettings(IRegionNames regionNames, IEstimateSettings estimateSettings) { _regionNames = regionNames; _estimateSettings = estimateSettings; }
protected DialogManagerBase(IRegionManager regionManager, IAppSettings appSettings) { _regionManager = regionManager; _regionNames = appSettings.RegionNames; }
public AppSettings(IRegionNames regionNames) { _regionNames = regionNames; }
public OverviewScreenFactory(IUnityContainer unityContainer) { _unityContainer = unityContainer; _regionNames = _unityContainer.Resolve <IRegionNames>();; }