Пример #1
0
 public void LoadModules()
 {
     if (LogInModule.LogInUser.Rights == 0)
     {
         MiscellaneousModule.Initialize();
         StationsModule.Initialize();
     }
 }
Пример #2
0
        public ViewModelLocator()
        {
            StationMapsModule = new StationMapsModule(_repository);

            LogInModule         = new LogInModule(_repository);
            MiscellaneousModule = new MiscellaneousModule(_repository);
            StationsModule      = new StationsModule(_repository);
            MeasurementsModule  = new MeasurementsModule(_repository);
        }