Beispiel #1
0
 private void SwitchColorMode(ColorModeSwitch colorMode)
 {
     if (colorModeSelected.mode != colorMode.mode)
     {
         colorModeSelected.component.BackColor = colorModeInactive;
         SetColorModeSelected(colorMode);
     }
 }
Beispiel #2
0
 private void SetColorModeSelected(ColorModeSwitch colorMode)
 {
     colorModeSelected = colorMode;
     colorModeSelected.component.BackColor = colorModeActive;
 }