Esempio n. 1
0
 public static void BringToFront(IntPtr handle, bool activate)
 {
     ControlHelper.UpdateZOrder(new HandleRef((object)null, handle), NativeMethods.HWND_TOP, activate);
 }
Esempio n. 2
0
 public static void SendToBack(IntPtr handle, bool activate)
 {
     ControlHelper.UpdateZOrder(new HandleRef((object)null, handle), NativeMethods.HWND_BOTTOM, activate);
 }
Esempio n. 3
0
 public static List <T> GetChildControls <T>(Control parent) where T : Control
 {
     return(ControlHelper.GetChildControls <T>(parent, false));
 }