/// <summary>Occurs when the control's effect has changed.</summary> protected virtual void OnEffectChanged(PolarControlEffect effect) { switch (effect) { case PolarControlEffect.Glass: { // BackColor = Color.Transparent; MakeBrushes(); break; } case PolarControlEffect.None: { // if (Parent != null) // BackColor = Parent.BackColor; // else // BackColor = SystemColors.Control; break; } } }
/// <summary>Occurs when the control's effect has changed.</summary> protected virtual void OnEffectChanged(PolarControlEffect effect) { switch (effect) { case PolarControlEffect.Glass: { //BackColor = Color.Transparent; MakeBrushes(); break; } case PolarControlEffect.None: { //if (Parent != null) // BackColor = Parent.BackColor; //else // BackColor = SystemColors.Control; break; } } }