Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need Help With Win Forms Pin
DRAYKKO15-Apr-07 5:24
professionalDRAYKKO15-Apr-07 5:24 
QuestionHow get an Array with the EnumValues from a FlagEnum-Value Pin
MarkPhB14-Apr-07 12:48
MarkPhB14-Apr-07 12:48 
AnswerRe: How get an Array with the EnumValues from a FlagEnum-Value Pin
Luc Pattyn14-Apr-07 13:31
sitebuilderLuc Pattyn14-Apr-07 13:31 
GeneralRe: How get an Array with the EnumValues from a FlagEnum-Value Pin
MarkPhB15-Apr-07 1:12
MarkPhB15-Apr-07 1:12 
AnswerRe: How get an Array with the EnumValues from a FlagEnum-Value Pin
Scott Dorman14-Apr-07 14:23
professionalScott Dorman14-Apr-07 14:23 
GeneralRe: How get an Array with the EnumValues from a FlagEnum-Value Pin
MarkPhB15-Apr-07 2:54
MarkPhB15-Apr-07 2:54 
QuestionAcces an ArrayList from multiple threads Pin
crazy friend14-Apr-07 9:00
crazy friend14-Apr-07 9:00 
AnswerRe: Acces an ArrayList from multiple threads Pin
Luc Pattyn14-Apr-07 12:46
sitebuilderLuc Pattyn14-Apr-07 12:46 
Hi,

if you want to manipulate an ArrayList (or anything else for that matter) from
inside multiple threads, then you should give those threads mutual exclusion access
to the ArrayList (so at any point in time at most one thread is manipulating it).
The easiest way is to use the lock keyword.

And yes you are right, you need InvokeRequired and Invoke in order to modify
some Control from any thread that is not the UI thread.

Smile | :)

Luc Pattyn

[My Articles]

QuestionIs is possible to change the setting of the ContextMenu? Pin
Khoramdin14-Apr-07 8:49
Khoramdin14-Apr-07 8:49 
AnswerRe: Is is possible to change the setting of the ContextMenu? Pin
Luc Pattyn14-Apr-07 12:51
sitebuilderLuc Pattyn14-Apr-07 12:51 
QuestionRe: Is is possible to change the setting of the ContextMenu? Pin
Khoramdin15-Apr-07 7:27
Khoramdin15-Apr-07 7:27 
AnswerRe: Is is possible to change the setting of the ContextMenu? Pin
maryamf14-Apr-07 22:48
maryamf14-Apr-07 22:48 
QuestionRe: Is is possible to change the setting of the ContextMenu? [modified] Pin
Khoramdin15-Apr-07 6:05
Khoramdin15-Apr-07 6:05 
Questionshow array elements Pin
ahmad al-omar14-Apr-07 6:21
ahmad al-omar14-Apr-07 6:21 
AnswerRe: show array elements Pin
Thomas Stockwell14-Apr-07 6:37
professionalThomas Stockwell14-Apr-07 6:37 
GeneralRe: show array elements Pin
Colin Angus Mackay14-Apr-07 6:55
Colin Angus Mackay14-Apr-07 6:55 
GeneralRe: show array elements Pin
Thomas Stockwell14-Apr-07 8:16
professionalThomas Stockwell14-Apr-07 8:16 
AnswerRe: show array elements Pin
George L. Jackson14-Apr-07 8:33
George L. Jackson14-Apr-07 8:33 
GeneralRe: show array elements Pin
ahmad al-omar14-Apr-07 9:13
ahmad al-omar14-Apr-07 9:13 
GeneralRe: show array elements Pin
Colin Angus Mackay14-Apr-07 10:33
Colin Angus Mackay14-Apr-07 10:33 
AnswerRe: show array elements Pin
ahmad al-omar14-Apr-07 9:11
ahmad al-omar14-Apr-07 9:11 
AnswerRe: show array elements Pin
Luc Pattyn14-Apr-07 12:53
sitebuilderLuc Pattyn14-Apr-07 12:53 
AnswerRe: show array elements Pin
Jaiprakash M Bankolli14-Apr-07 20:01
Jaiprakash M Bankolli14-Apr-07 20:01 
QuestionRegex problem Pin
hamidkhan14-Apr-07 6:13
hamidkhan14-Apr-07 6:13 
AnswerRe: Regex problem Pin
Guffa14-Apr-07 6:46
Guffa14-Apr-07 6:46 

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.