C# Class Microsoft.Samples.Kinect.ColorBasics.MainWindow

MainWindow
Inheritance: System.Windows.Window, System.Windows.Markup.IComponentConnector
Exibir arquivo Open project: rechc/KinectMiniApps Class Usage Examples

Public Methods

Method Description
MainWindow ( ) : System

Initializes a new instance of the MainWindow class.

Private Methods

Method Description
ButtonScreenshotClick ( object sender, RoutedEventArgs e ) : void

Handles the user clicking on the screenshot button

SensorColorFrameReady ( object sender, ColorImageFrameReadyEventArgs e ) : void

Event handler for Kinect sensor's ColorFrameReady event

ShouldMakeTransparent ( byte tRed, byte tGreen, byte tBlue, byte red, byte green, byte blue, int tolerance ) : bool
WindowClosing ( object sender, System e ) : void

Execute shutdown tasks

WindowLoaded ( object sender, RoutedEventArgs e ) : void

Execute startup tasks

Method Details

MainWindow() public method

Initializes a new instance of the MainWindow class.
public MainWindow ( ) : System
return System