Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
QuestionRe: Localizing C# win forms application Pin
Chesnokov Yuriy26-Oct-09 4:05
professionalChesnokov Yuriy26-Oct-09 4:05 
AnswerRe: Localizing C# win forms application Pin
Hristo-Bojilov26-Oct-09 11:57
Hristo-Bojilov26-Oct-09 11:57 
Questionc# Reverse GeoCode Pin
alam12326-Oct-09 1:45
alam12326-Oct-09 1:45 
QuestionCross threading problem Pin
Shaheer Abdulrahiman26-Oct-09 0:51
Shaheer Abdulrahiman26-Oct-09 0:51 
AnswerRe: Cross threading problem Pin
Mogamboo_Khush_Hua26-Oct-09 0:55
Mogamboo_Khush_Hua26-Oct-09 0:55 
AnswerRe: Cross threading problem Pin
Luc Pattyn26-Oct-09 0:56
sitebuilderLuc Pattyn26-Oct-09 0:56 
GeneralRe: Cross threading problem Pin
vtchris-peterson26-Oct-09 3:53
vtchris-peterson26-Oct-09 3:53 
GeneralRe: Cross threading problem Pin
Luc Pattyn26-Oct-09 4:25
sitebuilderLuc Pattyn26-Oct-09 4:25 
vtpdawg wrote:
IMHO, BeginInvoke should be the default pattern


I don't agree. When SetText() is the method to set a Control's Text property, and you call it from the main thread, it does not invoke a thing, and runs synchronously. Calling it from another thread should not behave differently. If synchronous operation is not guaranteed, then call it SetTextSynchronouslyOrAsynchronously!


vtpdawg wrote:
I much prefer BeginInvoke to Invoke to avoid blocking issues


Delegating towards the main thread should never take long as in a well designed app the GUI is always responsive, hence the main thread itself basically does not block.

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


AnswerRe: Cross threading problem: Quick 'n dirty solution Pin
Alan Balkany26-Oct-09 4:49
Alan Balkany26-Oct-09 4:49 
GeneralRe: Cross threading problem: Quick 'n dirty solution Pin
DaveyM6926-Oct-09 8:24
professionalDaveyM6926-Oct-09 8:24 
GeneralRe: Cross threading problem: Quick 'n dirty solution Pin
Alan Balkany26-Oct-09 9:07
Alan Balkany26-Oct-09 9:07 
QuestionAn interview Question Pin
Mogamboo_Khush_Hua26-Oct-09 0:41
Mogamboo_Khush_Hua26-Oct-09 0:41 
AnswerRe: An interview Question Pin
Daniel Vaughan26-Oct-09 1:31
Daniel Vaughan26-Oct-09 1:31 
GeneralRe: An interview Question Pin
Mogamboo_Khush_Hua26-Oct-09 2:01
Mogamboo_Khush_Hua26-Oct-09 2:01 
GeneralRe: An interview Question Pin
J4amieC26-Oct-09 2:24
J4amieC26-Oct-09 2:24 
AnswerMessage Closed Pin
26-Oct-09 1:35
stancrm26-Oct-09 1:35 
GeneralRe: An interview Question Pin
Mogamboo_Khush_Hua26-Oct-09 1:54
Mogamboo_Khush_Hua26-Oct-09 1:54 
GeneralRe: An interview Question Pin
J4amieC26-Oct-09 2:25
J4amieC26-Oct-09 2:25 
QuestionInvoke C dll functions and structs in C# [modified] Pin
fifthjourney26-Oct-09 0:38
fifthjourney26-Oct-09 0:38 
AnswerRe: Invoke C dll functions and structs in C# Pin
Keith Barrow26-Oct-09 0:43
professionalKeith Barrow26-Oct-09 0:43 
QuestionDifference between Monitor.TryEnter(object,Timespan) and Monitor.Wait(object,Timespan) Pin
frommi26-Oct-09 0:12
frommi26-Oct-09 0:12 
AnswerRe: Difference between Monitor.TryEnter(object,Timespan) and Monitor.Wait(object,Timespan) Pin
Simon P Stevens26-Oct-09 0:43
Simon P Stevens26-Oct-09 0:43 
AnswerProblem with System.Diagnostics.Process.Start [modified] Pin
Slavakr26-Oct-09 0:10
Slavakr26-Oct-09 0:10 
AnswerRe: Problem with System.Diagnostics.Process.Start Pin
Simon P Stevens26-Oct-09 0:15
Simon P Stevens26-Oct-09 0:15 
GeneralRe: Problem with System.Diagnostics.Process.Start Pin
Slavakr26-Oct-09 0:31
Slavakr26-Oct-09 0:31 

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.