C# 클래스 PsHandler.Custom.Methods

파일 보기 프로젝트 열기: kampiuceris/PsHandler

공개 메소드들

메소드 설명
AverageColor ( Bmp bmp, Rectangle r, double &avgRed, double &avgGreen, double &avgBlue ) : void
CheckButtonAndClick ( Bmp bmp, PokerStarsButton button, IntPtr handle ) : void
CheckIfPointIsInArea ( System point, Rectangle area ) : bool
CheckImBackButtonAndClick ( Bmp bmp, PokerStarsThemeTable pokerStarsThemeTable, IntPtr handle ) : void
CompareColors ( double r0, double g0, double b0, double r1, double g1, double b1, double maxDifferenceR, double maxDifferenceG, double maxDifferenceB ) : bool
DisplayBitmap ( Bitmap bitmap, bool dialog = false ) : void
DisplayException ( Exception e, Window owner, WindowStartupLocation windowStartupLocation ) : void
GetClipboardText ( ) : string
GetEmbeddedResourceBitmap ( string path ) : Bitmap
GetRandomNumber ( int min, int max ) : int
GetWindowsBorderThicknessLeftTopRightBottom ( ) : int[]
IsMinimized ( IntPtr handle ) : bool
LeftMouseClick ( IntPtr handle, int x, int y, bool checkIfMinimized = false ) : void
LeftMouseClickMiddle ( IntPtr handle ) : void
LeftMouseClickRelativeScaled ( IntPtr handle, double x, double y, bool checkIfMinimized = false ) : void
LeftMouseDoubleClick ( IntPtr handle, int x, int y ) : void
MouseEnterLeftMouseClickMiddleMouseLeave ( IntPtr handle ) : void
MouseEnterLeftMouseClickMouseLeave ( IntPtr handle, int x, int y ) : void
ReadSeek ( string path, long seek ) : string
SetClipboardText ( string text ) : void
UiInvoke ( System.Action action, bool forceInvoke = false, DispatcherPriority dispatcherPriority = DispatcherPriority.Normal ) : void

메소드 상세

AverageColor() 공개 정적인 메소드

public static AverageColor ( Bmp bmp, Rectangle r, double &avgRed, double &avgGreen, double &avgBlue ) : void
bmp Bmp
r System.Drawing.Rectangle
avgRed double
avgGreen double
avgBlue double
리턴 void

CheckButtonAndClick() 공개 정적인 메소드

public static CheckButtonAndClick ( Bmp bmp, PokerStarsButton button, IntPtr handle ) : void
bmp Bmp
button PokerStarsButton
handle System.IntPtr
리턴 void

CheckIfPointIsInArea() 공개 정적인 메소드

public static CheckIfPointIsInArea ( System point, Rectangle area ) : bool
point System
area System.Drawing.Rectangle
리턴 bool

CheckImBackButtonAndClick() 공개 정적인 메소드

public static CheckImBackButtonAndClick ( Bmp bmp, PokerStarsThemeTable pokerStarsThemeTable, IntPtr handle ) : void
bmp Bmp
pokerStarsThemeTable PokerStarsThemeTable
handle System.IntPtr
리턴 void

CompareColors() 공개 정적인 메소드

public static CompareColors ( double r0, double g0, double b0, double r1, double g1, double b1, double maxDifferenceR, double maxDifferenceG, double maxDifferenceB ) : bool
r0 double
g0 double
b0 double
r1 double
g1 double
b1 double
maxDifferenceR double
maxDifferenceG double
maxDifferenceB double
리턴 bool

DisplayBitmap() 공개 정적인 메소드

public static DisplayBitmap ( Bitmap bitmap, bool dialog = false ) : void
bitmap System.Drawing.Bitmap
dialog bool
리턴 void

DisplayException() 공개 정적인 메소드

public static DisplayException ( Exception e, Window owner, WindowStartupLocation windowStartupLocation ) : void
e System.Exception
owner System.Windows.Window
windowStartupLocation WindowStartupLocation
리턴 void

GetClipboardText() 공개 정적인 메소드

public static GetClipboardText ( ) : string
리턴 string

GetEmbeddedResourceBitmap() 공개 정적인 메소드

public static GetEmbeddedResourceBitmap ( string path ) : Bitmap
path string
리턴 System.Drawing.Bitmap

GetRandomNumber() 공개 정적인 메소드

public static GetRandomNumber ( int min, int max ) : int
min int
max int
리턴 int

GetWindowsBorderThicknessLeftTopRightBottom() 공개 정적인 메소드

public static GetWindowsBorderThicknessLeftTopRightBottom ( ) : int[]
리턴 int[]

IsMinimized() 공개 정적인 메소드

public static IsMinimized ( IntPtr handle ) : bool
handle System.IntPtr
리턴 bool

LeftMouseClick() 공개 정적인 메소드

public static LeftMouseClick ( IntPtr handle, int x, int y, bool checkIfMinimized = false ) : void
handle System.IntPtr
x int
y int
checkIfMinimized bool
리턴 void

LeftMouseClickMiddle() 공개 정적인 메소드

public static LeftMouseClickMiddle ( IntPtr handle ) : void
handle System.IntPtr
리턴 void

LeftMouseClickRelativeScaled() 공개 정적인 메소드

public static LeftMouseClickRelativeScaled ( IntPtr handle, double x, double y, bool checkIfMinimized = false ) : void
handle System.IntPtr
x double
y double
checkIfMinimized bool
리턴 void

LeftMouseDoubleClick() 공개 정적인 메소드

public static LeftMouseDoubleClick ( IntPtr handle, int x, int y ) : void
handle System.IntPtr
x int
y int
리턴 void

MouseEnterLeftMouseClickMiddleMouseLeave() 공개 정적인 메소드

public static MouseEnterLeftMouseClickMiddleMouseLeave ( IntPtr handle ) : void
handle System.IntPtr
리턴 void

MouseEnterLeftMouseClickMouseLeave() 공개 정적인 메소드

public static MouseEnterLeftMouseClickMouseLeave ( IntPtr handle, int x, int y ) : void
handle System.IntPtr
x int
y int
리턴 void

ReadSeek() 공개 정적인 메소드

public static ReadSeek ( string path, long seek ) : string
path string
seek long
리턴 string

SetClipboardText() 공개 정적인 메소드

public static SetClipboardText ( string text ) : void
text string
리턴 void

UiInvoke() 공개 정적인 메소드

public static UiInvoke ( System.Action action, bool forceInvoke = false, DispatcherPriority dispatcherPriority = DispatcherPriority.Normal ) : void
action System.Action
forceInvoke bool
dispatcherPriority DispatcherPriority
리턴 void