C# Class DeskView.Form1

Inheritance: Window
Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Méthode Description
Form1 ( ) : System
MoveCursor ( int x, int y ) : void

This is a response to the host telling us where the cursor is currently located.

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
OnKeyboardActivity ( object sender, KeyboardActivityArgs kbda ) : IntPtr
OnMouseActivity ( object sender, MouseActivityArgs ma ) : void
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.

Method Details

Form1() public méthode

public Form1 ( ) : System
Résultat System

MoveCursor() public méthode

This is a response to the host telling us where the cursor is currently located.
public MoveCursor ( int x, int y ) : void
x int
y int
Résultat void

OnCloseRequested() public méthode

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

OnKeyUp() public méthode

public OnKeyUp ( KeyboardActivityArgs ke ) : IntPtr
ke NewTOAPIA.UI.KeyboardActivityArgs
Résultat System.IntPtr

OnKeyboardActivity() public méthode

public OnKeyboardActivity ( object sender, KeyboardActivityArgs kbda ) : IntPtr
sender object
kbda NewTOAPIA.UI.KeyboardActivityArgs
Résultat System.IntPtr

OnMouseActivity() public méthode

public OnMouseActivity ( object sender, MouseActivityArgs ma ) : void
sender object
ma NewTOAPIA.UI.MouseActivityArgs
Résultat void

OnPaint() public méthode

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
Résultat void

PixBltLum24() public méthode

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
Résultat void

PixBltPixelBuffer24() public méthode

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
Résultat void