The solution is here, you can create a window shape and design it, set the dialog form, when you call the form, this is an auto show. In the form you create, you set the value of some static parameter when another class is in the project, but you must set when you close the form project, which, OK, return the init init call dialog box, you create the call interval when there is = = null return call, when! = null, you end the callback and use the parameter in the static class!
source share