Exemple #1
0
		public static void Initialize(ILayoutService layoutService, IValidationService validationService)
		{
			SaveService = new SaveService();
			Layout = layoutService;
			ValidationService = validationService;
			ContentService = new ContentService("Administrator");
			DragDropService = new DragDropService();
			RibbonService = new RibbonService();
		}
Exemple #2
0
		public static void Initialize(ILayoutService ILayoutService, IProgressService IProgressService, IValidationService IValidationService)
		{
			SaveService = new SaveService();
			Events = new EventAggregator();
			ResourceService = new ResourceService();
			Layout = ILayoutService;
			ProgressService = IProgressService;
			ValidationService = IValidationService;
			LoginService = new LoginService(ClientType.Administrator, "Администратор. Авторизация");
			ContentService = new ContentService("Administrator");
			DragDropService = new DragDropService();
			RibbonService = new RibbonService();
		}