Re: Passing data prom one thread to another

2019-01-01 Thread adamlevine
[há 
hắng]ư)[http://forum.gamevn.com/forums/cac-quang-cao-khac.394/create-thread](http://forum.gamevn.com/forums/cac-quang-cao-khac.394/create-thread))


Re: Passing data prom one thread to another

2018-03-22 Thread zolern
It is not Nim specific problem, you know, it is in general GUI "problem".

In my practice the best way to send some data (and when I say "data" I mean 
"more than DWORD value") to UI is to save that data in some temporary container 
and use "message to ui" just to say "Hi, here is some data for you" and when 
appropriate handler received and processed this message it can pull original 
data from container.


Passing data prom one thread to another

2018-03-22 Thread adamlevine
Passing data prom one thread to another

Hi, I have created a process that's runing a thread that open some windows 
form, now i want that other running threads from the same process will be able 
to pass data to this windows form or even close it or reopen it.

The Windows form GUI is always in use of the end users so i cant lock. what is 
the best way to implement it in c# ? i would like a short example, thanks.