Пример #1
0
        /// <summary>
        /// Imitates the click event for KinectScreenshotButtun
        /// </summary>
        protected override void KinectButton_HandCursorClick(object sender, HandCursorEventArgs args)
        {
            SetValue(IsClickedProperty, true);

            (Application.Current.MainWindow as MainWindow).ScreenshotGrid.Visibility = Visibility.Visible;
            (Application.Current.MainWindow as MainWindow).ScreenshotText.Text       = "3...";
            _screenshotTimer.Start();

            AfterClickTimer.Start();
        }
 /// <summary>
 /// Imitates the click event for KinectSizeButton
 /// </summary>
 protected override void KinectButton_HandCursorClick(object sender, HandCursorEventArgs args)
 {
     SetValue(IsClickedProperty, true);
     AfterClickTimer.Start();
 }