private void LoadSettings()
 {
   this.BackLightOptions = XMLUTILS.LoadBackLightSettings();
   this.SetRed();
   this.SetGreen();
   this.SetBlue();
   this.SetInverted();
 }
Beispiel #2
0
 public static MatrixGX.MOGX_Control LoadBackLightSettings()
 {
   MatrixGX.MOGX_Control control = new MatrixGX.MOGX_Control();
   if (Settings.Instance.Type.Equals("MatrixGX"))
   {
     MatrixGX.AdvancedSettings settings = MatrixGX.AdvancedSettings.Load();
     control.BackLightRed = settings.BacklightRED;
     control.BackLightGreen = settings.BacklightGREEN;
     control.BackLightBlue = settings.BacklightBLUE;
     control.InvertDisplay = settings.UseInvertedDisplay;
   }
   return control;
 }