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

C#

 
GeneralRe: How can I copy a multidimensional List Pin
AspDotNetDev20-Jan-10 17:08
protectorAspDotNetDev20-Jan-10 17:08 
GeneralRe: How can I copy a multidimensional List Pin
AspDotNetDev20-Jan-10 17:10
protectorAspDotNetDev20-Jan-10 17:10 
GeneralRe: How can I copy a multidimensional List Pin
AspDotNetDev20-Jan-10 17:15
protectorAspDotNetDev20-Jan-10 17:15 
GeneralRe: How can I copy a multidimensional List Pin
Luc Pattyn20-Jan-10 17:47
sitebuilderLuc Pattyn20-Jan-10 17:47 
QuestionSimulate keypress Pin
Matt Cavanagh20-Jan-10 14:12
Matt Cavanagh20-Jan-10 14:12 
AnswerRe: Simulate keypress Pin
Bekjong20-Jan-10 16:07
Bekjong20-Jan-10 16:07 
QuestionProblem with AutoResetEvent Array and WaitHandle.WaitAll() Pin
FJJCENTU20-Jan-10 13:27
FJJCENTU20-Jan-10 13:27 
AnswerRe: Problem with AutoResetEvent Array and WaitHandle.WaitAll() Pin
Bekjong20-Jan-10 15:50
Bekjong20-Jan-10 15:50 
Use Google. The first hit that comes up already provides a solution:

private void WaitAll(WaitHandle[] waitHandles) {
  if (Thread.CurrentThread.ApartmentState == ApartmentState.STA) {
    // WaitAll for multiple handles on an STA thread is not supported.
    // ...so wait on each handle individually.
    foreach(WaitHandle myWaitHandle in waitHandles) {
      WaitHandle.WaitAny(new WaitHandle[]{myWaitHandle});
    }
  }
  else {
    WaitHandle.WaitAll(waitHandles);
  }
}


Standards are great! Everybody should have one!

AnswerRe: Problem with AutoResetEvent Array and WaitHandle.WaitAll() Pin
Giorgi Dalakishvili20-Jan-10 19:17
mentorGiorgi Dalakishvili20-Jan-10 19:17 
QuestionManaged and Unmanaged code Pin
3bood.ghzawi20-Jan-10 13:03
3bood.ghzawi20-Jan-10 13:03 
AnswerRe: Managed and Unmanaged code Pin
Bekjong20-Jan-10 15:53
Bekjong20-Jan-10 15:53 
AnswerRe: Managed and Unmanaged code Pin
Abhinav S20-Jan-10 17:33
Abhinav S20-Jan-10 17:33 
QuestionDisplay highlighted data from Listbox in Textboxes Pin
CarlMartin1020-Jan-10 13:02
CarlMartin1020-Jan-10 13:02 
AnswerRe: Display highlighted data from Listbox in Textboxes Pin
Luc Pattyn20-Jan-10 13:27
sitebuilderLuc Pattyn20-Jan-10 13:27 
GeneralRe: Display highlighted data from Listbox in Textboxes Pin
CarlMartin1020-Jan-10 13:31
CarlMartin1020-Jan-10 13:31 
GeneralRe: Display highlighted data from Listbox in Textboxes Pin
Luc Pattyn20-Jan-10 13:37
sitebuilderLuc Pattyn20-Jan-10 13:37 
AnswerRe: Display highlighted data from Listbox in Textboxes Pin
Anthony Mushrow20-Jan-10 13:34
professionalAnthony Mushrow20-Jan-10 13:34 
GeneralRe: Display highlighted data from Listbox in Textboxes Pin
CarlMartin1020-Jan-10 13:37
CarlMartin1020-Jan-10 13:37 
Questionuse of information from a previous form Pin
naghoumeh1420-Jan-10 10:22
naghoumeh1420-Jan-10 10:22 
AnswerRe: use of information from a previous form Pin
sanforjackass20-Jan-10 10:42
sanforjackass20-Jan-10 10:42 
GeneralRe: use of information from a previous form Pin
naghoumeh1420-Jan-10 10:54
naghoumeh1420-Jan-10 10:54 
AnswerRe: use of information from a previous form [modified] Pin
sanforjackass20-Jan-10 11:11
sanforjackass20-Jan-10 11:11 
AnswerRe: use of information from a previous form Pin
DaveyM6920-Jan-10 11:05
professionalDaveyM6920-Jan-10 11:05 
QuestionProblem with connection to Socket Pin
gottimukkala20-Jan-10 10:22
gottimukkala20-Jan-10 10:22 
AnswerRe: Problem with connection to Socket Pin
Rozis20-Jan-10 13:02
Rozis20-Jan-10 13:02 

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.