C# 클래스 SnapNViewer.Form1

상속: Window
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
Form1 ( ) : System
OnCloseRequested ( ) : bool

When the Window is closing, we shut down the session object to clean up participation in the session correctly.

OnKeyUp ( KeyboardActivityArgs ke ) : IntPtr
OnPaint ( DrawEvent devent ) : void

We override OnPaint so that when redrawing is not necessarily occuring, we will still refresh areas of the window that need refreshing, from the bitmap.

PixBltLum24 ( PixelArray pixMap, int x, int y ) : void

This method is called through an Event dispatch. It is registered with the DataChangedEvent of the viewer class. It should be raised whenever a new set of drawing commands hits to viewer from the network.

PixBltPixelBuffer24 ( GDIDIBSection pixMap, int x, int y ) : void

This method is called through an Event dispatch. It is registered with the DataChangedEvent of the viewer class. It should be raised whenever a new set of drawing commands hits to viewer from the network.

메소드 상세

Form1() 공개 메소드

public Form1 ( ) : System
리턴 System

OnCloseRequested() 공개 메소드

When the Window is closing, we shut down the session object to clean up participation in the session correctly.
public OnCloseRequested ( ) : bool
리턴 bool

OnKeyUp() 공개 메소드

public OnKeyUp ( KeyboardActivityArgs ke ) : IntPtr
ke NewTOAPIA.UI.KeyboardActivityArgs
리턴 System.IntPtr

OnPaint() 공개 메소드

We override OnPaint so that when redrawing is not necessarily occuring, we will still refresh areas of the window that need refreshing, from the bitmap.
public OnPaint ( DrawEvent devent ) : void
devent NewTOAPIA.UI.DrawEvent
리턴 void

PixBltLum24() 공개 메소드

This method is called through an Event dispatch. It is registered with the DataChangedEvent of the viewer class. It should be raised whenever a new set of drawing commands hits to viewer from the network.
public PixBltLum24 ( PixelArray pixMap, int x, int y ) : void
pixMap PixelArray
x int
y int
리턴 void

PixBltPixelBuffer24() 공개 메소드

This method is called through an Event dispatch. It is registered with the DataChangedEvent of the viewer class. It should be raised whenever a new set of drawing commands hits to viewer from the network.
public PixBltPixelBuffer24 ( GDIDIBSection pixMap, int x, int y ) : void
pixMap GDIDIBSection
x int
y int
리턴 void