示例#1
0
 public Presenterd(Settings settings, Bus bus)
 {
     currentSlide = Slide.UpcomingCompetitions;
     pausedFor = 0;
     this.settings = settings;
     this.bus = bus;
 }
示例#2
0
 public void LoadSettings()
 {
     settings = Settings.LoadSettingsFromFile (settings.CurrentFile);
     if (settings_path != null) {
         bus.Unregister (settings_path);
         settings_path = null;
     }
 }
示例#3
0
		public object Clone ()
		{
			Settings settings = new Settings ();
			settings.currentFile = this.currentFile;
			settings.EventName = this.EventName;
			settings.EventNameFull = this.EventNameFull;
			return settings;
		}