C# 클래스 HookTestClient.MainForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: polyu/Cloud_Game 1 사용 예제들

공개 메소드들

메소드 설명
AddCaptureEventHandler ( CaptureEventHandler handler ) : void
MainForm ( ) : System
UpdateCaptureImage ( Byte rawBytes ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
Callback ( IntPtr hwnd, int lParam ) : bool
CreateDIB ( Byte data, int width, int height, int &stride ) : Bitmap
CreateScaledImage ( Byte rawBytes ) : Bitmap
EnumWindows ( EnumWindowsCallback lpEnumFunc, int lParam ) : int
GetWindowLongA ( IntPtr hWnd, int nIndex ) : ulong
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : void
GetWindows ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MainForm_Load ( object sender, EventArgs e ) : void
btnRefresh_Click ( object sender, EventArgs e ) : void
buttonStart_Click ( object sender, EventArgs e ) : void
buttonStop_Click ( object sender, EventArgs e ) : void
lstWindows_SelectedIndexChanged ( object sender, EventArgs e ) : void

메소드 상세

AddCaptureEventHandler() 공개 메소드

public AddCaptureEventHandler ( CaptureEventHandler handler ) : void
handler CaptureEventHandler
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

MainForm() 공개 메소드

public MainForm ( ) : System
리턴 System

UpdateCaptureImage() 공개 메소드

public UpdateCaptureImage ( Byte rawBytes ) : void
rawBytes Byte
리턴 void