public virtual void ApplyTheme(BaseTheme newTheme) { BackColor = newTheme.Colors["ToolTipBackground"]; ForeColor = newTheme.Colors["ToolTipForeground"]; InitialDelay = newTheme.Units["ToolTipInitialDelay"]; AutoPopDelay = newTheme.Units["ToolTipPopDelay"]; ReshowDelay = newTheme.Units["ToolTipReshowDelay"]; }
public static void ApplyTheme(BaseTheme newTheme) { CurrentTheme = newTheme; foreach (IThemedComponent component in ThemedComponents) component.ApplyTheme(newTheme); OnThemeChanged(); }
public override void ApplyTheme(BaseTheme newTheme) { BorderWidth = newTheme.Units["ResizeButtonBorderWidth"]; ForeColor = newTheme.Colors["ResizeButtonForeground"]; BackColor = newTheme.Colors["ResizeButtonBackground"]; MouseOverBackColor = newTheme.Colors["ResizeButtonMouseOverBackground"]; MouseDownBackColor = newTheme.Colors["ResizeButtonMouseDownBackground"]; MouseOverForeColor = newTheme.Colors["ResizeButtonMouseOverForeground"]; BorderColor = newTheme.Colors["ResizeButtonBorder"]; MouseOverBorderColor = newTheme.Colors["ResizeButtonMouseOverBorder"]; ; }
public virtual void ApplyTheme(BaseTheme newTheme) { BackgroundBrush = newTheme.Brushes["ScrollBarBackground"]; TrackBrush = newTheme.Brushes["ScrollBarTrack"]; ThumbBrush = newTheme.Brushes["ScrollBarThumb"]; ThumbHoverBrush = newTheme.Brushes["ScrollBarThumbHover"]; ThumbPressedBrush = newTheme.Brushes["ScrollBarThumbPressed"]; ThumbGripBrush = newTheme.Brushes["ScrollBarThumbGrip"]; ArrowButtonsBrush = newTheme.Brushes["ScrollBarArrowButtons"]; ArrowButtonsHoverBrush = newTheme.Brushes["ScrollBarArrowButtonsHover"]; ArrowButtonsPressedBrush = newTheme.Brushes["ScrollBarArrowButtonsPressed"]; BorderPen = newTheme.Pens["ScrollBarBorder"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { ForeColor = newTheme.Colors["LabelForeground"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { BorderWidth = newTheme.Units["ProgressBarBorderWidth"]; BackColor = newTheme.Colors["ProgressBarBorder"]; InnerPanel.BackColor = newTheme.Colors["ProgressBarBackground"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { BorderWidth = newTheme.Units["PanelBorderWidth"]; BorderColor = newTheme.Colors["PanelBorder"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { BorderWidth = newTheme.Units["ButtonBorderWidth"]; ForeColor = newTheme.Colors["ButtonForeground"]; BackColor = newTheme.Colors["ButtonBackground"]; MouseOverBackColor = newTheme.Colors["ButtonMouseOverBackground"]; MouseDownBackColor = newTheme.Colors["ButtonMouseDownBackground"]; MouseOverForeColor = newTheme.Colors["ButtonMouseOverForeground"]; BorderColor = newTheme.Colors["ButtonBorder"]; MouseOverBorderColor = newTheme.Colors["ButtonMouseOverBorder"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { ActiveLinkColor = newTheme.Colors["LinkLabelActiveLink"]; LinkColor = newTheme.Colors["LinkLabelLink"]; VisitedLinkColor = newTheme.Colors["LinkLabelVisitedLink"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { BackColor = newTheme.Colors["UserControlBackground"]; }
static ThemeManager() { CurrentTheme = new JaffasTheme(); ThemedComponents = new List <IThemedComponent>(); }
public virtual void ApplyTheme(BaseTheme newTheme) { BorderColor = newTheme.Colors["TextBoxBorder"]; BackColor = newTheme.Colors["TextBoxBackground"]; InnerTextBox.ForeColor = newTheme.Colors["TextBoxForeground"]; }
public virtual void ApplyTheme(BaseTheme newTheme) { BorderWidth = newTheme.Units["ProgressBarBorderWidth"]; BorderColor = newTheme.Colors["ProgressBarBorder"]; BackColor = newTheme.Colors["ProgressBarSegment"]; }
public override void ApplyTheme(BaseTheme newTheme) { base.ApplyTheme(newTheme); BottomBorder.BackColor = newTheme.Colors["ListItemBorderColor"]; ; }