C# Class HookTestClient.MainForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: polyu/Cloud_Game Class Usage Examples

Méthodes publiques

Méthode Description
AddCaptureEventHandler ( CaptureEventHandler handler ) : void
MainForm ( ) : System
UpdateCaptureImage ( Byte rawBytes ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

AddCaptureEventHandler() public méthode

public AddCaptureEventHandler ( CaptureEventHandler handler ) : void
handler CaptureEventHandler
Résultat void

Dispose() protected méthode

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

MainForm() public méthode

public MainForm ( ) : System
Résultat System

UpdateCaptureImage() public méthode

public UpdateCaptureImage ( Byte rawBytes ) : void
rawBytes Byte
Résultat void