示例#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);
        }