This is a migrated thread and some comments may be shown as answers.

theming buttons in a user control

0 Answers 49 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Elliott
Top achievements
Rank 2
Elliott asked on 05 Sep 2012, 05:55 PM
I am trying to set an entire WinForms app with Desert theme
I have a group of buttons in a user control which is used in two different forms
both forms are RadForms and both are set to Desert as part of the constructor
Public Sub New()
    ' This call is required by the designer.
    InitializeComponent()
    Dim myTheme As New DesertTheme()
    ThemeResolutionService.ApplicationThemeName = "Desert"
End Sub

one form has ochre buttons with that gradient I like - and the other form has that ugly grey which is Microsoft control
why is this?

I figured out why - after leaving a dent in my desk after trying EVERYTHING I could think of
the user control starts out not Enabled - when it is Enabled it gets the nice gradient

No answers yet. Maybe you can help?

Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Elliott
Top achievements
Rank 2
Share this question
or