Click here to Skip to main content
15,912,069 members
Home / Discussions / C#
   

C#

 
AnswerRe: error handling Pin
AditSheth1-Nov-11 18:32
AditSheth1-Nov-11 18:32 
GeneralRe: error handling Pin
Pete O'Hanlon1-Nov-11 21:04
mvePete O'Hanlon1-Nov-11 21:04 
GeneralRe: error handling Pin
BobJanova1-Nov-11 23:55
BobJanova1-Nov-11 23:55 
AnswerRe: error handling Pin
V.2-Nov-11 0:22
professionalV.2-Nov-11 0:22 
QuestionWin service jumps out Pin
suunker1-Nov-11 10:01
suunker1-Nov-11 10:01 
AnswerRe: Win service jumps out Pin
DaveyM691-Nov-11 11:22
professionalDaveyM691-Nov-11 11:22 
AnswerRe: Win service jumps out Pin
PIEBALDconsult1-Nov-11 13:32
mvePIEBALDconsult1-Nov-11 13:32 
QuestionTheming Custom Controls At Design-Time Pin
Matt U.1-Nov-11 8:48
Matt U.1-Nov-11 8:48 
Hello, CP! I have a question and I have yet to find the answer I need. I have created a custom ToolStrip renderer as well as a class derived from ToolStrip. I have also created a class derived from a standard Button control. Along with these, I have a "ThemeBase" class which all theme sets are derived from, I have two theme sets and I have a "ThemeManager" class. ThemeManager is a singleton class and it works perfectly fine for theming the application all at once. At runtime, that is.

However, I would like to add design-time support for dynamically changing the theme in the Forms Designer. Would this be possible without too much headache? The way it is currently set up is that the controls display in the Forms Designer with the default theme that I set. This is no issue as the themes are virtually identical aside from their color schemes. So if changing the theme at design-time is too much of a hassle then I am not worried about it.

I have looked at custom designers, deriving from ControlDesigner. However, I could not picture that as the solution I am looking for. I have seen controls which you can change the theme for individually at design-time and it takes effect. I am positive I know how that is done. I am interested in theming all controls in the designer (where applicable) at once. Maybe it is not even really possible but I wanted to ask since I could not find the answer elsewhere on my own.

Thank you!
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: Theming Custom Controls At Design-Time Pin
BobJanova2-Nov-11 0:00
BobJanova2-Nov-11 0:00 
Questioncreate DSN for oracle programatically Pin
KKSharma31-Oct-11 22:56
KKSharma31-Oct-11 22:56 
AnswerRe: create DSN for oracle programatically Pin
PIEBALDconsult1-Nov-11 2:50
mvePIEBALDconsult1-Nov-11 2:50 
QuestionHelp with GetProcesses Pin
CCodeNewbie31-Oct-11 13:03
CCodeNewbie31-Oct-11 13:03 
AnswerRe: Help with GetProcesses Pin
Pete O'Hanlon31-Oct-11 20:46
mvePete O'Hanlon31-Oct-11 20:46 
GeneralRe: Help with GetProcesses Pin
CCodeNewbie31-Oct-11 23:29
CCodeNewbie31-Oct-11 23:29 
GeneralRe: Help with GetProcesses Pin
Pete O'Hanlon1-Nov-11 0:46
mvePete O'Hanlon1-Nov-11 0:46 
AnswerRe: Help with GetProcesses - Sort of Solved Pin
CCodeNewbie2-Nov-11 12:11
CCodeNewbie2-Nov-11 12:11 
QuestionAudio processing Pin
Guy00731-Oct-11 8:09
Guy00731-Oct-11 8:09 
AnswerRe: Audio processing Pin
phil.o31-Oct-11 8:44
professionalphil.o31-Oct-11 8:44 
QuestionUnique values in list Pin
nitin_ion31-Oct-11 0:09
nitin_ion31-Oct-11 0:09 
AnswerRe: Unique values in list Pin
Pete O'Hanlon31-Oct-11 0:57
mvePete O'Hanlon31-Oct-11 0:57 
GeneralRe: Unique values in list Pin
nitin_ion31-Oct-11 1:01
nitin_ion31-Oct-11 1:01 
GeneralRe: Unique values in list Pin
Not Active31-Oct-11 2:06
mentorNot Active31-Oct-11 2:06 
GeneralRe: Unique values in list Pin
Pete O'Hanlon31-Oct-11 7:33
mvePete O'Hanlon31-Oct-11 7:33 
AnswerRe: Unique values in list Pin
Reiss31-Oct-11 3:28
professionalReiss31-Oct-11 3:28 
QuestionWCF server don't detect lost or broken connection? Pin
teknolog12331-Oct-11 0:04
teknolog12331-Oct-11 0:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.