C# 클래스 Windawesome.Utilities

파일 보기 프로젝트 열기: kocubinski/windawesome

공개 메소드들

메소드 설명
DoForSelfAndOwnersWhile ( IntPtr hWnd, Predicate action ) : IntPtr
GetRootOwner ( IntPtr hWnd ) : IntPtr
GetWindowSmallIconAsBitmap ( IntPtr hWnd, Action action ) : void
IsAltTabWindow ( IntPtr hWnd ) : bool
IsAppWindow ( IntPtr hWnd ) : bool
IsVisibleAndNotHung ( Window window ) : bool
MaximizeApplication ( IntPtr hWnd ) : void
MinimizeApplication ( IntPtr hWnd ) : void
MoveMouseToMiddleOf ( Rectangle bounds ) : void
QuitApplication ( IntPtr hWnd ) : void
RestoreApplication ( IntPtr hWnd ) : void
RunApplication ( string path, string arguments = "" ) : void
WindowIsNotHung ( IntPtr hWnd ) : bool
WindowIsNotHung ( Window window ) : bool

메소드 상세

DoForSelfAndOwnersWhile() 공개 정적인 메소드

public static DoForSelfAndOwnersWhile ( IntPtr hWnd, Predicate action ) : IntPtr
hWnd System.IntPtr
action Predicate
리턴 System.IntPtr

GetRootOwner() 공개 정적인 메소드

public static GetRootOwner ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
리턴 System.IntPtr

GetWindowSmallIconAsBitmap() 공개 정적인 메소드

public static GetWindowSmallIconAsBitmap ( IntPtr hWnd, Action action ) : void
hWnd System.IntPtr
action Action
리턴 void

IsAltTabWindow() 공개 정적인 메소드

public static IsAltTabWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
리턴 bool

IsAppWindow() 공개 정적인 메소드

public static IsAppWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
리턴 bool

IsVisibleAndNotHung() 공개 정적인 메소드

public static IsVisibleAndNotHung ( Window window ) : bool
window Window
리턴 bool

MaximizeApplication() 공개 정적인 메소드

public static MaximizeApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
리턴 void

MinimizeApplication() 공개 정적인 메소드

public static MinimizeApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
리턴 void

MoveMouseToMiddleOf() 공개 정적인 메소드

public static MoveMouseToMiddleOf ( Rectangle bounds ) : void
bounds System.Drawing.Rectangle
리턴 void

QuitApplication() 공개 정적인 메소드

public static QuitApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
리턴 void

RestoreApplication() 공개 정적인 메소드

public static RestoreApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
리턴 void

RunApplication() 공개 정적인 메소드

public static RunApplication ( string path, string arguments = "" ) : void
path string
arguments string
리턴 void

WindowIsNotHung() 공개 정적인 메소드

public static WindowIsNotHung ( IntPtr hWnd ) : bool
hWnd System.IntPtr
리턴 bool

WindowIsNotHung() 공개 정적인 메소드

public static WindowIsNotHung ( Window window ) : bool
window Window
리턴 bool