BringToFront() public method

将一个窗口提到所有窗口的最前面
public BringToFront ( Window win ) : void
win Window
return void
Esempio n. 1
0
 static public int BringToFront(IntPtr l)
 {
     try {
         FairyGUI.GRoot  self = (FairyGUI.GRoot)checkSelf(l);
         FairyGUI.Window a1;
         checkType(l, 2, out a1);
         self.BringToFront(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static int BringToFront(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GRoot  obj  = (FairyGUI.GRoot)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRoot));
         FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.CheckObject(L, 2, typeof(FairyGUI.Window));
         obj.BringToFront(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }