Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to disable event handler from its execution Pin
Peace ON12-May-10 0:33
Peace ON12-May-10 0:33 
GeneralRe: How to disable event handler from its execution Pin
sandeepkavade12-May-10 0:50
sandeepkavade12-May-10 0:50 
AnswerRe: How to disable event handler from its execution Pin
PIEBALDconsult12-May-10 2:51
mvePIEBALDconsult12-May-10 2:51 
GeneralRe: How to disable event handler from its execution Pin
sandeepkavade12-May-10 3:00
sandeepkavade12-May-10 3:00 
GeneralRe: How to disable event handler from its execution Pin
PIEBALDconsult12-May-10 3:03
mvePIEBALDconsult12-May-10 3:03 
GeneralRe: How to disable event handler from its execution Pin
sandeepkavade12-May-10 3:11
sandeepkavade12-May-10 3:11 
AnswerRe: How to disable event handler from its execution Pin
Luc Pattyn12-May-10 3:51
sitebuilderLuc Pattyn12-May-10 3:51 
GeneralRe: How to disable event handler from its execution Pin
dybs12-May-10 18:09
dybs12-May-10 18:09 
Luc Pattyn wrote:
Those Enabled changes will take effect only after your handler finishes


Does this only apply to the Enabled property of controls, or others as well, and why wait until the handler completes? I've been seeing a different behavior for something like the ComobBox.SelectedIndex property. I have an app that, when you click a button, sets some ComboBox selections, does some processing, and maybe changes the ComboBox selection again (to indicate to the user that something is actually going on). This is all happenning in a function called by my button handler on the GUI thread, and I see the ComboBox values update while it runs.

Yes, I know the fact that such a long procedure occurs in the click handler isn't the best solution (it was fine with the original program design, but we're in the process of moving this all out to a separate thread).

Thanks,

Dybs
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

GeneralRe: How to disable event handler from its execution Pin
Luc Pattyn13-May-10 3:11
sitebuilderLuc Pattyn13-May-10 3:11 
AnswerRe: How to disable event handler from its execution Pin
Stanciu Vlad12-May-10 20:02
Stanciu Vlad12-May-10 20:02 
QuestionISP Bandwidth Measure [modified] Pin
Omoniyi Ogunderu11-May-10 23:20
Omoniyi Ogunderu11-May-10 23:20 
AnswerRe: ISP Bandwidth Measure Pin
OriginalGriff11-May-10 23:22
mveOriginalGriff11-May-10 23:22 
GeneralRe: ISP Bandwidth Measure Pin
Omoniyi Ogunderu11-May-10 23:39
Omoniyi Ogunderu11-May-10 23:39 
AnswerRe: ISP Bandwidth Measure Pin
Michel Godfroid11-May-10 23:54
Michel Godfroid11-May-10 23:54 
AnswerRe: ISP Bandwidth Measure Pin
Bernhard Hiller12-May-10 3:23
Bernhard Hiller12-May-10 3:23 
GeneralRe: ISP Bandwidth Measure Pin
harold aptroot12-May-10 3:32
harold aptroot12-May-10 3:32 
Questionwhat can I do to my poorful combobox to be filled???? Pin
Tunisien8611-May-10 23:13
Tunisien8611-May-10 23:13 
AnswerRe: what can I do to my poorful combobox to be filled???? Pin
#realJSOP11-May-10 23:32
professional#realJSOP11-May-10 23:32 
GeneralRe: what can I do to my poorful combobox to be filled???? Pin
Tunisien8611-May-10 23:39
Tunisien8611-May-10 23:39 
GeneralRe: what can I do to my poorful combobox to be filled???? Pin
Pete O'Hanlon12-May-10 1:12
mvePete O'Hanlon12-May-10 1:12 
GeneralRe: what can I do to my poorful combobox to be filled???? Pin
#realJSOP12-May-10 1:40
professional#realJSOP12-May-10 1:40 
GeneralRe: what can I do to my poorful combobox to be filled???? Pin
Tunisien8612-May-10 4:09
Tunisien8612-May-10 4:09 
GeneralRe: what can I do to my poorful combobox to be filled???? Pin
johannesnestler13-May-10 5:05
johannesnestler13-May-10 5:05 
AnswerRe: what can I do to my poorful combobox to be filled???? Pin
Luc Pattyn12-May-10 3:03
sitebuilderLuc Pattyn12-May-10 3:03 
GeneralRe: what can I do to my poorful combobox to be filled???? Pin
Tunisien8613-May-10 1:00
Tunisien8613-May-10 1:00 

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.