/// <summary>
 /// Initializes a new instance of the <see cref="KinectViewModel"/> class.
 /// </summary>
 /// <param name="kinectService">The kinect service.</param>
 public KinectViewModel(KinectService kinectService)
 {
     ButtonPlayer = new SoundPlayer(Properties.Resources.ButtonClick);
     InitializeClothingCategories();
     _kinectService = kinectService;
     _kinectService.Initialize();
 }
 public void CheckNoKinectExceptionHandlingText()
 {
     KinectService s = new KinectService();
     s.Initialize();
     string message = "Proszę podłączyć Kinect";
     Assert.AreEqual(message, s.ErrorGridMessage);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="KinectViewModel"/> class.
 /// </summary>
 /// <param name="kinectService">The kinect service.</param>
 public KinectViewModel(KinectService kinectService)
 {
     ButtonPlayer = new SoundPlayer(Properties.Resources.ButtonClick);
     InitializeClothingCategories();
     _kinectService = kinectService;
     _kinectService.Initialize();
 }