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