Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: Invoke/Thread Pin
N a v a n e e t h23-Sep-08 17:56
N a v a n e e t h23-Sep-08 17:56 
GeneralRe: Invoke/Thread Pin
myNameIsRon23-Sep-08 19:24
myNameIsRon23-Sep-08 19:24 
AnswerRe: Invoke/Thread Pin
Mohammad Dayyan23-Sep-08 18:51
Mohammad Dayyan23-Sep-08 18:51 
GeneralRe: Invoke/Thread Pin
myNameIsRon23-Sep-08 19:30
myNameIsRon23-Sep-08 19:30 
GeneralRe: Invoke/Thread Pin
Mohammad Dayyan24-Sep-08 3:45
Mohammad Dayyan24-Sep-08 3:45 
AnswerRe: Invoke/Thread Pin
Mark Churchill23-Sep-08 22:59
Mark Churchill23-Sep-08 22:59 
GeneralRe: Invoke/Thread Pin
myNameIsRon24-Sep-08 4:30
myNameIsRon24-Sep-08 4:30 
GeneralRe: Invoke/Thread Pin
Mark Churchill24-Sep-08 18:56
Mark Churchill24-Sep-08 18:56 
SerialPortEvent is executed on the UI thread. So SwipeMethod will run on that same thread.

Not sure on the ShowDialog vs Show deal... but I haven't had very much coffee today Wink | ;)

My worker thread/queue setup was based on the assumption you were processing bunches of data from a serial port. If you are popping a form with "Swipe CC now" then it might be worth looking at just using Delegate.BeginInvoke and IAsyncResult. This will use a thread from the pool.


GeneralRe: Invoke/Thread Pin
myNameIsRon24-Sep-08 19:47
myNameIsRon24-Sep-08 19:47 
QuestionOut of memory error Pin
Xmen Real 23-Sep-08 17:14
professional Xmen Real 23-Sep-08 17:14 
AnswerRe: Out of memory error Pin
N a v a n e e t h23-Sep-08 17:26
N a v a n e e t h23-Sep-08 17:26 
GeneralRe: Out of memory error Pin
Xmen Real 23-Sep-08 17:36
professional Xmen Real 23-Sep-08 17:36 
GeneralRe: Out of memory error Pin
N a v a n e e t h23-Sep-08 17:53
N a v a n e e t h23-Sep-08 17:53 
GeneralRe: Out of memory error Pin
Xmen Real 23-Sep-08 18:12
professional Xmen Real 23-Sep-08 18:12 
GeneralRe: Out of memory error Pin
N a v a n e e t h23-Sep-08 18:14
N a v a n e e t h23-Sep-08 18:14 
GeneralRe: Out of memory error Pin
Xmen Real 23-Sep-08 19:40
professional Xmen Real 23-Sep-08 19:40 
GeneralRe: Out of memory error Pin
leppie23-Sep-08 21:31
leppie23-Sep-08 21:31 
QuestionNeed to clarify Pin
Member 409922223-Sep-08 15:32
Member 409922223-Sep-08 15:32 
AnswerRe: Need to clarify Pin
Mark Salsbery23-Sep-08 16:11
Mark Salsbery23-Sep-08 16:11 
GeneralRe: Need to clarify Pin
Member 409922223-Sep-08 16:58
Member 409922223-Sep-08 16:58 
GeneralRe: Need to clarify Pin
Mark Salsbery23-Sep-08 18:43
Mark Salsbery23-Sep-08 18:43 
AnswerRe: Need to clarify Pin
N a v a n e e t h23-Sep-08 17:30
N a v a n e e t h23-Sep-08 17:30 
AnswerRe: Need to clarify Pin
Steve Echols23-Sep-08 17:42
Steve Echols23-Sep-08 17:42 
QuestionXML Pin
CodingYoshi23-Sep-08 15:27
CodingYoshi23-Sep-08 15:27 
AnswerRe: XML Pin
N a v a n e e t h23-Sep-08 17:35
N a v a n e e t h23-Sep-08 17:35 

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.