[Mono-list] Using Mono/C# to develop simple OSX app

sams samspurgeon at gmail.com
Mon Nov 9 12:04:03 UTC 2015


Hi,

I know this post is now forking off in all kinds of different directions but
I just wanted to ask one more thing - the original app I was talking about
now includes a loop that determines the size of files whose names are passed
in via XML. This takes a little time to run so I'd like to add some progress
bars. I got as far as adding them and writing the code to make them work but
the UI does not refresh until the loop is completely finished (ie rather
than incrementing bit by bit, the UI gets refreshed when the progress bar's
value is set to the maximum so to the user they just appear to jump from
beginning to end). 

I have investigated a few asynchronous techniques but I have not had any
luck. If anyone can shed some light on this, I'd be very grateful! When I
used to program .net, the solution for me was a call to
Application.DoEvents......

Thanks

Sam 



--
View this message in context: http://mono.1490590.n4.nabble.com/Using-Mono-C-to-develop-simple-OSX-app-tp4666818p4666913.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list