Ejemplo n.º 1
0
 void elem_MediaEnded(object sender, RoutedEventArgs e)
 {
     if (onComplete != null)
     {
         ui.Display disp = ui.Display.getInstance();
         disp.callSerially(onComplete);
     }
 }
Ejemplo n.º 2
0
 void elem_MediaEnded(object sender, RoutedEventArgs e)
 {
     if (completionHandlers != null)
     {
         ui.Display disp = ui.Display.getInstance();
         System.Collections.Generic.List <java.lang.Runnable> toRun = new System.Collections.Generic.List <java.lang.Runnable>();
         toRun.AddRange(completionHandlers);
         foreach (var completionHandler in toRun)
         {
             disp.callSerially(completionHandler);
         }
     }
 }
Ejemplo n.º 3
0
 public virtual void run()
 {
     ui.Display d = (ui.Display)com.codename1.ui.Display.getInstance();
     d.editString(n1, n2, n3, n4, n5);
     ((ui.Form)n1.getComponentForm()).repaint();
 }