private void LoadSettings()
 {
   this.RCSettings = XMLUTILS.LoadRemoteSettings();
   this.SetDisableRemote();
   this.SetDisableRepeat();
   this.SetRepeatDelay();
 }
Esempio n. 2
0
 public static VLSYS_Mplay.RemoteControl LoadRemoteSettings()
 {
   VLSYS_Mplay.RemoteControl control = new VLSYS_Mplay.RemoteControl();
   if (Settings.Instance.Type.Equals("VLSYS_Mplay"))
   {
     VLSYS_Mplay.AdvancedSettings settings = VLSYS_Mplay.AdvancedSettings.Load();
     control.DisableRemote = settings.DisableRemote;
     control.DisableRepeat = settings.DisableRepeat;
     control.RepeatDelay = settings.RepeatDelay;
   }
   return control;
 }