C# 클래스 Microsoft.Samples.Kinect.RecordAndPlaybackBasics.MainWindow

Interaction logic for the MainWindow
상속: System.Windows.Window, INotifyPropertyChanged, IDisposable
파일 보기 프로젝트 열기: angelaHillier/RecordAndPlaybackBasics-WPF

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes all unmanaged resources for the class

MainWindow ( ) : System

Initializes a new instance of the MainWindow class.

비공개 메소드들

메소드 설명
MainWindow_Closing ( object sender, CancelEventArgs e ) : void

Execute shutdown tasks

OpenFileForPlayback ( ) : string

Launches the OpenFileDialog window to help user find/select an event file for playback

PlayButton_Click ( object sender, RoutedEventArgs e ) : void

Handles the user clicking on the Play button

PlaybackClip ( string filePath ) : void

Plays back a .xef file to the Kinect sensor

RecordButton_Click ( object sender, RoutedEventArgs e ) : void

Handles the user clicking on the Record button

RecordClip ( string filePath ) : void

Records a new .xef file

SaveRecordingAs ( ) : string

Launches the SaveFileDialog window to help user create a new recording file

Sensor_IsAvailableChanged ( object sender, IsAvailableChangedEventArgs e ) : void

Handles the event in which the sensor becomes unavailable (E.g. paused, closed, unplugged).

UpdateState ( ) : void

Enables/Disables the record and playback buttons in the UI

메소드 상세

Dispose() 공개 메소드

Disposes all unmanaged resources for the class
public Dispose ( ) : void
리턴 void

MainWindow() 공개 메소드

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