Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
Jacob Dixon27-Jun-10 11:21
Jacob Dixon27-Jun-10 11:21 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
sodevrom27-Jun-10 11:27
sodevrom27-Jun-10 11:27 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
Jacob Dixon27-Jun-10 11:37
Jacob Dixon27-Jun-10 11:37 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
sodevrom27-Jun-10 11:53
sodevrom27-Jun-10 11:53 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
Jacob Dixon27-Jun-10 12:11
Jacob Dixon27-Jun-10 12:11 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
Johnny J.28-Jun-10 0:51
professionalJohnny J.28-Jun-10 0:51 
AnswerRe: Extending a .Net Control. Implement new functionality in event PinPopular
DaveyM6927-Jun-10 12:31
professionalDaveyM6927-Jun-10 12:31 
AnswerRe: Extending a .Net Control. Implement new functionality in event Pin
DaveyM6928-Jun-10 3:06
professionalDaveyM6928-Jun-10 3:06 
Just a quick addition...

If your code is really that simple, you can drop the if/else and do a one liner:
C#
ColorScheme = Enabled ? EnmColorScheme.Purple : EnmColorScheme.Green;
base.OnEnabledChanged(e);

Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

QuestionApplication.DoEvents(); throwing System.IO.FileNotFoundException ? Pin
BugMeNotFTW27-Jun-10 4:09
BugMeNotFTW27-Jun-10 4:09 
AnswerRe: Application.DoEvents(); throwing System.IO.FileNotFoundException ? Pin
Roger Wright27-Jun-10 4:58
professionalRoger Wright27-Jun-10 4:58 
AnswerRe: Application.DoEvents(); throwing System.IO.FileNotFoundException ? [modified] Pin
BugMeNotFTW27-Jun-10 6:41
BugMeNotFTW27-Jun-10 6:41 
GeneralRe: Application.DoEvents(); throwing System.IO.FileNotFoundException ? Pin
Roger Wright27-Jun-10 20:38
professionalRoger Wright27-Jun-10 20:38 
AnswerRe: Application.DoEvents(); throwing System.IO.FileNotFoundException ? Pin
Jacob Dixon27-Jun-10 11:47
Jacob Dixon27-Jun-10 11:47 
QuestionSwitching a program from foreground to background Pin
WubbleU26-Jun-10 22:53
WubbleU26-Jun-10 22:53 
AnswerRe: Switching a program from foreground to background Pin
DaveAuld26-Jun-10 23:24
professionalDaveAuld26-Jun-10 23:24 
GeneralRe: Switching a program from foreground to background Pin
WubbleU26-Jun-10 23:28
WubbleU26-Jun-10 23:28 
GeneralRe: Switching a program from foreground to background Pin
Trollslayer26-Jun-10 23:38
mentorTrollslayer26-Jun-10 23:38 
GeneralRe: Switching a program from foreground to background Pin
WubbleU26-Jun-10 23:42
WubbleU26-Jun-10 23:42 
GeneralRe: Switching a program from foreground to background Pin
Trollslayer27-Jun-10 0:09
mentorTrollslayer27-Jun-10 0:09 
GeneralRe: Switching a program from foreground to background Pin
Richard MacCutchan27-Jun-10 0:15
mveRichard MacCutchan27-Jun-10 0:15 
AnswerRe: Switching a program from foreground to background Pin
PIEBALDconsult27-Jun-10 4:08
mvePIEBALDconsult27-Jun-10 4:08 
GeneralRe: Switching a program from foreground to background Pin
WubbleU1-Jul-10 16:37
WubbleU1-Jul-10 16:37 
GeneralRe: Switching a program from foreground to background Pin
WubbleU3-Jul-10 19:50
WubbleU3-Jul-10 19:50 
QuestionStringBuilder and String [modified] Pin
NetQuestions26-Jun-10 22:28
NetQuestions26-Jun-10 22:28 
AnswerRe: StringBuilder and String Pin
Keith Barrow26-Jun-10 22:49
professionalKeith Barrow26-Jun-10 22:49 

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.