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

C#

 
QuestionInvoking Progressbar Pin
SimpleData9-Oct-09 10:11
SimpleData9-Oct-09 10:11 
AnswerRe: Invoking Progressbar Pin
Luc Pattyn9-Oct-09 10:13
sitebuilderLuc Pattyn9-Oct-09 10:13 
GeneralRe: Invoking Progressbar Pin
SimpleData9-Oct-09 10:49
SimpleData9-Oct-09 10:49 
GeneralRe: Invoking Progressbar Pin
Luc Pattyn9-Oct-09 10:56
sitebuilderLuc Pattyn9-Oct-09 10:56 
GeneralRe: Invoking Progressbar Pin
SimpleData9-Oct-09 22:31
SimpleData9-Oct-09 22:31 
GeneralRe: Invoking Progressbar Pin
DaveyM6910-Oct-09 0:42
professionalDaveyM6910-Oct-09 0:42 
GeneralRe: Invoking Progressbar Pin
SimpleData10-Oct-09 0:44
SimpleData10-Oct-09 0:44 
GeneralRe: Invoking Progressbar Pin
Luc Pattyn10-Oct-09 1:52
sitebuilderLuc Pattyn10-Oct-09 1:52 
I expect that to work fine.

I am aware the MSDN documentation doesn't say much about this, and neither does my article. I probably should add the following paragraph:

There are several items that Visual Designer can add to a Form although they aren't Controls; they are either parts of a Control (e.g. MenuItem, ToolStripMenuItem, ...) or Components (Forms.Timer, SerialPort, ...); for all of these I think a good approach is to choose a Control on which InvokeRequired/Invoke can be used; the Form itself is a good candidate for solving threading unsafety issues.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? Neen!


AnswerRe: Invoking Progressbar Pin
Abhijit Jana9-Oct-09 10:35
professionalAbhijit Jana9-Oct-09 10:35 
Questionan exception with this code Pin
Mohamed El-Wehishy9-Oct-09 8:49
Mohamed El-Wehishy9-Oct-09 8:49 
AnswerRe: an exception with this code Pin
Not Active9-Oct-09 8:57
mentorNot Active9-Oct-09 8:57 
GeneralRe: an exception with this code Pin
Mohamed El-Wehishy9-Oct-09 9:09
Mohamed El-Wehishy9-Oct-09 9:09 
GeneralRe: an exception with this code Pin
Not Active9-Oct-09 9:33
mentorNot Active9-Oct-09 9:33 
GeneralRe: the exception Pin
Luc Pattyn9-Oct-09 10:01
sitebuilderLuc Pattyn9-Oct-09 10:01 
GeneralRe: the exception Pin
Mohamed El-Wehishy9-Oct-09 10:11
Mohamed El-Wehishy9-Oct-09 10:11 
GeneralRe: the exception Pin
Not Active9-Oct-09 10:31
mentorNot Active9-Oct-09 10:31 
GeneralRe: the exception Pin
Not Active9-Oct-09 10:35
mentorNot Active9-Oct-09 10:35 
GeneralRe: the exception Pin
Luc Pattyn9-Oct-09 11:13
sitebuilderLuc Pattyn9-Oct-09 11:13 
AnswerRe: an exception with this code Pin
EliottA9-Oct-09 9:01
EliottA9-Oct-09 9:01 
AnswerRe: an exception with this code Pin
Md. Marufuzzaman9-Oct-09 9:08
professionalMd. Marufuzzaman9-Oct-09 9:08 
QuestionChange color of ribbon control..... Pin
yogeshdew9-Oct-09 6:28
yogeshdew9-Oct-09 6:28 
AnswerRe: Change color of ribbon control..... Pin
Henry Minute9-Oct-09 9:11
Henry Minute9-Oct-09 9:11 
QuestionA question on inheritance again Pin
Dewald9-Oct-09 4:45
Dewald9-Oct-09 4:45 
AnswerRe: A question on inheritance again Pin
EliottA9-Oct-09 4:48
EliottA9-Oct-09 4:48 
GeneralRe: A question on inheritance again Pin
PIEBALDconsult9-Oct-09 4:52
mvePIEBALDconsult9-Oct-09 4:52 

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.