Click here to Skip to main content
16,006,348 members
Home / Discussions / C#
   

C#

 
AnswerRe: Extending a .Net Control. Implement new functionality in event Pin
Jacob Dixon27-Jun-10 10:55
Jacob Dixon27-Jun-10 10:55 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
sodevrom27-Jun-10 11:14
sodevrom27-Jun-10 11:14 
GeneralRe: Extending a .Net Control. Implement new functionality in event Pin
Jacob Dixon27-Jun-10 11:18
Jacob Dixon27-Jun-10 11:18 
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 
Would it be possible for you to post all the code so I can take a look at what you are doing? The ColorScheme is not part of the GroupBox so I figured that is something you created.

Calling base.OnEnabledChanged(e) will run the code in the base class which will disable / enable the child controls. That way you can get rid of your foreach statement in your method.

I'm still interested in the rest of the code as to why it wasn't working with a Refresh or Invalidate. Doing it that way should be fine and safe. Most likely is the fastest way also I would think
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 Pin
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 
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 

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.