Click here to Skip to main content
15,868,236 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is this program thread safe Pin
S. Senthil Kumar20-Jul-08 21:16
S. Senthil Kumar20-Jul-08 21:16 
GeneralRe: Is this program thread safe Pin
N a v a n e e t h20-Jul-08 21:31
N a v a n e e t h20-Jul-08 21:31 
GeneralRe: Is this program thread safe Pin
Mogaambo20-Jul-08 21:46
Mogaambo20-Jul-08 21:46 
AnswerRe: Is this program thread safe Pin
N a v a n e e t h20-Jul-08 21:35
N a v a n e e t h20-Jul-08 21:35 
AnswerRe:Senthil or Navneeth please clear my doubt [modified] Pin
Mogaambo20-Jul-08 21:47
Mogaambo20-Jul-08 21:47 
GeneralRe:Senthil or Navneeth please clear my doubt Pin
S. Senthil Kumar20-Jul-08 22:23
S. Senthil Kumar20-Jul-08 22:23 
GeneralRe:Senthil or Navneeth please clear my doubt Pin
Mogaambo20-Jul-08 22:33
Mogaambo20-Jul-08 22:33 
GeneralRe:Senthil or Navneeth please clear my doubt Pin
S. Senthil Kumar20-Jul-08 22:44
S. Senthil Kumar20-Jul-08 22:44 
If you looked at the code carefully, you would have noticed that the if (InvokeRequired) block actually passes the current method as the parameter to Invoke/BeginInvoke. The current method will therefore get called again, but this time on the UI thread, as it was passed as the delegate to Invoke/BeginInvoke, and InvokeRequired will therefore return false.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

GeneralRe:Senthil or Navneeth please clear my doubt Pin
Mogaambo20-Jul-08 22:49
Mogaambo20-Jul-08 22:49 
GeneralRe:Senthil or Navneeth please clear my doubt Pin
S. Senthil Kumar20-Jul-08 23:01
S. Senthil Kumar20-Jul-08 23:01 
QuestionHTTP authentication Pin
George_George20-Jul-08 20:17
George_George20-Jul-08 20:17 
AnswerRe: HTTP authentication Pin
N a v a n e e t h20-Jul-08 20:48
N a v a n e e t h20-Jul-08 20:48 
GeneralRe: HTTP authentication Pin
George_George20-Jul-08 21:07
George_George20-Jul-08 21:07 
GeneralRe: HTTP authentication Pin
N a v a n e e t h20-Jul-08 21:27
N a v a n e e t h20-Jul-08 21:27 
GeneralRe: HTTP authentication Pin
George_George20-Jul-08 21:31
George_George20-Jul-08 21:31 
QuestionSuppressing dialogs in webbrowser control? Pin
Christopher Duncan20-Jul-08 17:16
Christopher Duncan20-Jul-08 17:16 
AnswerRe: Suppressing dialogs in webbrowser control? Pin
leppie20-Jul-08 23:01
leppie20-Jul-08 23:01 
GeneralRe: Suppressing dialogs in webbrowser control? Pin
Christopher Duncan21-Jul-08 6:03
Christopher Duncan21-Jul-08 6:03 
QuestionObjectOutput/Input Interfaces Pin
DwR20-Jul-08 11:04
DwR20-Jul-08 11:04 
AnswerRe: ObjectOutput/Input Interfaces Pin
Guffa20-Jul-08 14:41
Guffa20-Jul-08 14:41 
QuestionCSS File Pin
hadad20-Jul-08 10:36
hadad20-Jul-08 10:36 
AnswerRe: CSS File Pin
Pete O'Hanlon20-Jul-08 10:55
subeditorPete O'Hanlon20-Jul-08 10:55 
Question*.mht and web browser Pin
half-life20-Jul-08 7:17
half-life20-Jul-08 7:17 
QuestionCan I play sound file from SQL Database using c# [modified] Pin
The Glory20-Jul-08 6:42
The Glory20-Jul-08 6:42 
NewsRe: Can I play sound file from SQL Database using c# Pin
Mbah Dhaim20-Jul-08 12:39
Mbah Dhaim20-Jul-08 12:39 

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.