04-19-2012 01:20 PM
Intend to add a button to restart program.
When program is restarted, data files, which cannot be saved, always show 0 byte.
1.Closing thread and files is not complete.
1.How to close all threads and files completely without closing program?
How to restart a program?
2.Try to find a code like system.exit(0), but the whole program is not closed.
1.Restart a program
04-19-2012 03:42 PM
I found a way to solve the issue, but the restart program takes about 10 seconds to dot the restart job.
ApplicationDescriptor current = ApplicationDescriptor.currentApplicationDescriptor
Does anyone know how to short the timing?