Click here to Skip to main content
15,892,965 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to refresh my Form Pin
gizmokaka16-Oct-07 1:20
gizmokaka16-Oct-07 1:20 
AnswerRe: How to refresh my Form Pin
MohammadAmiry16-Oct-07 1:19
MohammadAmiry16-Oct-07 1:19 
GeneralRe: How to refresh my Form Pin
gizmokaka16-Oct-07 1:28
gizmokaka16-Oct-07 1:28 
AnswerRe: How to refresh my Form Pin
Martin#16-Oct-07 2:02
Martin#16-Oct-07 2:02 
GeneralRe: How to refresh my Form Pin
gizmokaka16-Oct-07 2:55
gizmokaka16-Oct-07 2:55 
AnswerRe: How to refresh my Form Pin
Martin#16-Oct-07 2:59
Martin#16-Oct-07 2:59 
GeneralRe: How to refresh my Form Pin
gizmokaka16-Oct-07 3:59
gizmokaka16-Oct-07 3:59 
AnswerRe: How to refresh my Form Pin
Martin#16-Oct-07 4:14
Martin#16-Oct-07 4:14 
Hello,

The thread where you collect the data for the Graph has a referenz of the "memberControl"?!
The "memberControl" holds the ZeGraph Control?!

If you now add a/the method like I gave you before, to the memberControls code,
the thread should be able to call this method.

The thread can now path the value for the graph to this method.
The "InvokeRequired" property of the Control class does a check if it's neccesary to Invoke the method.
Reason is, that you also could call the method from inside the thread, and there the invoke is not needed.

In case of "InvokeRequired" is "true" the method will be called again by the "Invoke" call, and next time "InvokeRequired" will be "false". (debug it, for easier understanding).
At the first call ("InvokeRequired" is "true") the code after the if statement is not going to be executed.

After Invoke you can use the pathed datas to set the ZedGraph properties.

Hope it helps!



All the best,

Martin

GeneralRe: How to refresh my Form Pin
gizmokaka16-Oct-07 9:29
gizmokaka16-Oct-07 9:29 
GeneralRe: How to refresh my Form Pin
gizmokaka17-Oct-07 7:43
gizmokaka17-Oct-07 7:43 
GeneralRe: How to refresh my Form Pin
Martin#17-Oct-07 20:26
Martin#17-Oct-07 20:26 
QuestionHelp needed with a complicated application Pin
Lucy16-Oct-07 0:58
Lucy16-Oct-07 0:58 
AnswerRe: Help needed with a complicated application Pin
DavidNohejl16-Oct-07 1:08
DavidNohejl16-Oct-07 1:08 
GeneralRe: Help needed with a complicated application Pin
Lucy16-Oct-07 1:34
Lucy16-Oct-07 1:34 
GeneralRe: Help needed with a complicated application Pin
Christian Graus16-Oct-07 1:39
protectorChristian Graus16-Oct-07 1:39 
GeneralRe: Help needed with a complicated application Pin
Lucy16-Oct-07 1:49
Lucy16-Oct-07 1:49 
AnswerRe: Help needed with a complicated application Pin
Christian Graus16-Oct-07 1:24
protectorChristian Graus16-Oct-07 1:24 
QuestionHow to convert SqlDataReader into a user defined class? Pin
hogan.smith16-Oct-07 0:26
hogan.smith16-Oct-07 0:26 
AnswerRe: How to convert SqlDataReader into a user defined class? Pin
Andrei Ungureanu16-Oct-07 0:29
Andrei Ungureanu16-Oct-07 0:29 
GeneralRe: How to convert SqlDataReader into a user defined class? Pin
hogan.smith16-Oct-07 0:36
hogan.smith16-Oct-07 0:36 
GeneralRe: How to convert SqlDataReader into a user defined class? Pin
Andrei Ungureanu16-Oct-07 0:42
Andrei Ungureanu16-Oct-07 0:42 
GeneralRe: How to convert SqlDataReader into a user defined class? Pin
hogan.smith16-Oct-07 0:46
hogan.smith16-Oct-07 0:46 
Question[Message Deleted] Pin
Trustapple16-Oct-07 0:02
Trustapple16-Oct-07 0:02 
AnswerRe: seminar Pin
Christian Graus16-Oct-07 0:17
protectorChristian Graus16-Oct-07 0:17 
GeneralRe: seminar Pin
Trustapple16-Oct-07 0:21
Trustapple16-Oct-07 0:21 

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.