/// <summary> /// Initializes a new instance of the MainViewModel class. /// </summary> public MainViewModel() { if (IsInDesignMode) { OutputLog.Add("Initializing kinect ..."); OutputLog.Add("Kinect up and running"); OutputLog.Add("Calculating the answer to the Ultimate Question of Life, the Universe, and Everything!!"); } else { OpenRawStreamRecWindowCommand = new RelayCommand(() => new KStudioRawStreamRecorder().Show()); ExitCommand = new RelayCommand <Window>(w => w.Close()); } }