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

C#

 
Questionhello guys I have a Question, how to display the result from this program in richtextbox when I push a buttom Pin
Member 1217509321-Feb-16 4:40
Member 1217509321-Feb-16 4:40 
QuestionRe: hello guys I have a Question, how to display the result from this program in richtextbox when I push a buttom Pin
CHill6021-Feb-16 5:23
mveCHill6021-Feb-16 5:23 
AnswerRe: hello guys I have a Question, how to display the result from this program in richtextbox when I push a buttom Pin
OriginalGriff21-Feb-16 5:23
mveOriginalGriff21-Feb-16 5:23 
Questionbest practice for run-time transforming large data set of high-precision values Pin
BillWoodruff20-Feb-16 18:14
professionalBillWoodruff20-Feb-16 18:14 
AnswerRe: best practice for run-time transforming large data set of high-precision values Pin
Garth J Lancaster20-Feb-16 19:02
professionalGarth J Lancaster20-Feb-16 19:02 
GeneralRe: best practice for run-time transforming large data set of high-precision values Pin
BillWoodruff20-Feb-16 19:21
professionalBillWoodruff20-Feb-16 19:21 
AnswerRe: best practice for run-time transforming large data set of high-precision values Pin
Pete O'Hanlon20-Feb-16 23:41
mvePete O'Hanlon20-Feb-16 23:41 
GeneralRe: best practice for run-time transforming large data set of high-precision values Pin
Kenneth Haugland22-Feb-16 2:56
mvaKenneth Haugland22-Feb-16 2:56 
This should probably be a separate question, but I often find myself in a position where I want to change the threads of the subroutine that is called.

For instance, say I want the points created by MouseMove it's quite easy to get them observing on the UIThread:
C#
var Moveing = Observable.FromEventPattern<MouseEventArgs>(this, "MouseMove").Select(evt => evt.EventArgs.GetPosition(this));
Moveing.Subscribe(evt => {
    this.Title = evt.ToString();
});

But after 1 minute assume that I want to calcualte some long running prossess off the UIThread, like the avarage posision of the mouse for instance, and when completed post the result back to the UIThread. The ObserveOn or SubscribeOn didnt quite seem to fit, as I do already ObserveOn the UI thread in this case. I could use the method SubscribeOn but that seemed to imply that the subscribed code ran in a different thread, and I coudnt really post the result on the UI thread.

I was hoping that the Rx would make this so easy for me, but it's giving me some headaches insted.
GeneralRe: best practice for run-time transforming large data set of high-precision values Pin
Pete O'Hanlon22-Feb-16 3:30
mvePete O'Hanlon22-Feb-16 3:30 
AnswerRe: best practice for run-time transforming large data set of high-precision values Pin
Luc Pattyn21-Feb-16 11:57
sitebuilderLuc Pattyn21-Feb-16 11:57 
QuestionFileSystemWatcher Problem Pin
Kevin Marois19-Feb-16 5:26
professionalKevin Marois19-Feb-16 5:26 
AnswerRe: FileSystemWatcher Problem Pin
Richard MacCutchan19-Feb-16 5:39
mveRichard MacCutchan19-Feb-16 5:39 
GeneralRe: FileSystemWatcher Problem Pin
Kevin Marois19-Feb-16 5:45
professionalKevin Marois19-Feb-16 5:45 
GeneralRe: FileSystemWatcher Problem Pin
Richard MacCutchan19-Feb-16 5:47
mveRichard MacCutchan19-Feb-16 5:47 
AnswerRe: FileSystemWatcher Problem Pin
Pete O'Hanlon19-Feb-16 5:52
mvePete O'Hanlon19-Feb-16 5:52 
GeneralRe: FileSystemWatcher Problem Pin
Kevin Marois19-Feb-16 5:54
professionalKevin Marois19-Feb-16 5:54 
AnswerRe: FileSystemWatcher Problem Pin
Luc Pattyn19-Feb-16 7:24
sitebuilderLuc Pattyn19-Feb-16 7:24 
GeneralRe: FileSystemWatcher Problem Pin
CHill6019-Feb-16 8:56
mveCHill6019-Feb-16 8:56 
GeneralRe: FileSystemWatcher Problem Pin
Garth J Lancaster20-Feb-16 18:37
professionalGarth J Lancaster20-Feb-16 18:37 
AnswerRe: FileSystemWatcher Problem Pin
Garth J Lancaster20-Feb-16 18:42
professionalGarth J Lancaster20-Feb-16 18:42 
AnswerRe: FileSystemWatcher Problem Pin
Gerry Schmitz21-Feb-16 9:11
mveGerry Schmitz21-Feb-16 9:11 
GeneralRe: FileSystemWatcher Problem Pin
Kevin Marois22-Feb-16 6:30
professionalKevin Marois22-Feb-16 6:30 
GeneralRe: FileSystemWatcher Problem Pin
Gerry Schmitz22-Feb-16 6:57
mveGerry Schmitz22-Feb-16 6:57 
GeneralRe: FileSystemWatcher Problem Pin
Kevin Marois22-Feb-16 7:01
professionalKevin Marois22-Feb-16 7:01 
GeneralRe: FileSystemWatcher Problem Pin
Gerry Schmitz22-Feb-16 7:33
mveGerry Schmitz22-Feb-16 7:33 

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.