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