public static Controller1 getInstance(Application0 app) { if (instance == null) { instance = new Controller1(app); } return(instance); }
protected async Task UserSection() { controller1 = Controller1.getInstance(this); currentController = controller1; for (; ;) { currentController.action(); await Wait(); } }