Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to view board component and capacitor Pin
regerteast25-Mar-16 4:04
regerteast25-Mar-16 4:04 
GeneralRe: How to view board component and capacitor Pin
OriginalGriff25-Mar-16 4:24
mveOriginalGriff25-Mar-16 4:24 
GeneralRe: How to view board component and capacitor Pin
regerteast25-Mar-16 5:40
regerteast25-Mar-16 5:40 
GeneralRe: How to view board component and capacitor Pin
OriginalGriff25-Mar-16 6:05
mveOriginalGriff25-Mar-16 6:05 
GeneralRe: How to view board component and capacitor Pin
Eddy Vluggen25-Mar-16 4:29
professionalEddy Vluggen25-Mar-16 4:29 
GeneralRe: How to view board component and capacitor Pin
regerteast25-Mar-16 5:38
regerteast25-Mar-16 5:38 
GeneralRe: How to view board component and capacitor Pin
Eddy Vluggen25-Mar-16 7:15
professionalEddy Vluggen25-Mar-16 7:15 
AnswerRe: How to view board component and capacitor Pin
Amarnath S23-Mar-16 7:03
professionalAmarnath S23-Mar-16 7:03 
Questionhow to select all files automatically from zip file in c# Pin
Member 1237430822-Mar-16 7:00
Member 1237430822-Mar-16 7:00 
AnswerRe: how to select all files automatically from zip file in c# Pin
Richard MacCutchan22-Mar-16 7:23
mveRichard MacCutchan22-Mar-16 7:23 
AnswerRe: how to select all files automatically from zip file in c# Pin
koolprasad200322-Mar-16 18:21
professionalkoolprasad200322-Mar-16 18:21 
QuestionCrystal Reports Data not displaying Pin
prerana@200922-Mar-16 5:27
prerana@200922-Mar-16 5:27 
AnswerRe: Crystal Reports Data not displaying Pin
OriginalGriff22-Mar-16 6:03
mveOriginalGriff22-Mar-16 6:03 
AnswerRepost Pin
Richard Deeming22-Mar-16 6:27
mveRichard Deeming22-Mar-16 6:27 
QuestionHandling Cross thread Pin
pradipkilledar22-Mar-16 2:09
pradipkilledar22-Mar-16 2:09 
AnswerRe: Handling Cross thread Pin
Richard Deeming22-Mar-16 2:58
mveRichard Deeming22-Mar-16 2:58 
GeneralRe: Handling Cross thread Pin
pradipkilledar27-Mar-16 22:22
pradipkilledar27-Mar-16 22:22 
GeneralRe: Handling Cross thread Pin
Richard Deeming29-Mar-16 1:45
mveRichard Deeming29-Mar-16 1:45 
QuestionGet Picture Using PictureBox Handle Pin
Django_Untaken21-Mar-16 7:29
Django_Untaken21-Mar-16 7:29 
AnswerRe: Get Picture Using PictureBox Handle Pin
User 740747021-Mar-16 8:43
User 740747021-Mar-16 8:43 
QuestionI want to generator serial numbers for rows in datagrid Pin
Engr. Yange21-Mar-16 3:06
Engr. Yange21-Mar-16 3:06 
AnswerRe: I want to generator serial numbers for rows in datagrid Pin
Eddy Vluggen22-Mar-16 7:17
professionalEddy Vluggen22-Mar-16 7:17 
QuestionUpdating the UI from a Rx background thread Pin
Kenneth Haugland20-Mar-16 23:38
mvaKenneth Haugland20-Mar-16 23:38 
AnswerRe: Updating the UI from a Rx background thread Pin
Luc Pattyn21-Mar-16 15:10
sitebuilderLuc Pattyn21-Mar-16 15:10 
GeneralRe: Updating the UI from a Rx background thread Pin
Kenneth Haugland21-Mar-16 19:16
mvaKenneth Haugland21-Mar-16 19:16 
I took my approch from this article: Async in 4.5: Enabling Progress and Cancellation in Async APIs | .NET Blog[^]

I did try to use the invoke as well, inside the Task call method. I would use the invoke method like this:
C#
this.pgbProgress.Dispatcher.Invoke(DispatcherPriority.Normal,
     new Action(() => { this.pgbProgress.Value += 1; }));

This is basically the WPF invoke method but unfortunately, it didn't change anything. The values didn't update until all the Rx tasks were done.

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.