private void KinectPaintListBox_CursorLeave(object sender, CursorEventArgs e) { PART_ColorPickerListBox.Opacity = 0.1; SolidColorBrush brush = new SolidColorBrush((Color)GetValue(MainWindow.SelectedColorProperty)); PART_Cursor.PART_TEMPO.Fill = brush; _isPickingColor = false; }
// Called when the cursor leaves the area of the color picker private void KinectPaintListBox_CursorLeave(object sender, CursorEventArgs e) { _isPickingColor = false; }
// Called when the cursor enters the area of the color picker private void KinectPaintListBox_CursorEnter(object sender, CursorEventArgs e) { _isPickingColor = true; CompositionTarget.Rendering += AnimateColorPicker; }
// Called when the cursor leaves this button's visible area private void OnCursorLeave(object sender, CursorEventArgs args) { args.Cursor.EndHover(); args.Cursor.HoverFinished -= Cursor_HoverFinished; }
// Called when the cursor enters this button's visible area private void OnCursorEnter(object sender, CursorEventArgs args) { args.Cursor.BeginHover(); args.Cursor.HoverFinished += Cursor_HoverFinished; }
private void BrushPanel_MouseLeave(object sender, CursorEventArgs e) { Brush_on = false; TimerSetting2(); }
private void BrushPanel_MouseEnter(object sender, CursorEventArgs e) { Brush_on = true; TimerSetting2(); // MessageBox.Show("Asdf"); }
private void MenuPanel_MouseEnter(object sender, CursorEventArgs e) { Menu_on = true; Image_Menu.Visibility = (Visibility.Hidden); TimerSetting(); }
private void PART_SelectSize_MouseLeave(object sender, CursorEventArgs e) { PART_SelectSize.Opacity = 0.1; PART_Cursor.PART_TEMPO.Width = (double)GetValue(SelectedSizeProperty) * 2.0; PART_Cursor.PART_TEMPO.Height = (double)GetValue(SelectedSizeProperty) * 2.0; }
private void PART_SelectSize_MouseEnter(object sender, CursorEventArgs e) { PART_SelectSize.Opacity = 1; }
private void KinectPaintListBox_CursorEnter(object sender, CursorEventArgs e) { _isPickingColor = true; PART_ColorPickerListBox.Opacity = 1; }
private void Close_CursorEnter(object sender, CursorEventArgs e) { DoubleAnimation CloseAnimator = new DoubleAnimation(0.0, 1.0, new Duration(TimeSpan.FromSeconds(2)), FillBehavior.Stop); Btn_Close.BeginAnimation(OpacityProperty, CloseAnimator); }
private void StartPainting_CursorEnter(object sender, CursorEventArgs e) { DoubleAnimation StartPaintAnimator = new DoubleAnimation(0.0, 1.0, new Duration(TimeSpan.FromSeconds(2)), FillBehavior.Stop); Btn_StartPainting.BeginAnimation(OpacityProperty, StartPaintAnimator); }
private void OnCursorEnter(object sender, CursorEventArgs args) { args.Cursor.BeginHover(); args.Cursor.HoverFinished += Cursor_HoverFinished; }
private void MenuPanel_MouseLeave(object sender, CursorEventArgs e) { Menu_on = false; TimerSetting(); Image_Menu.Visibility = (Visibility.Visible); }
private void OnCursorLeave(object sender, CursorEventArgs args) { args.Cursor.EndHover(); args.Cursor.HoverFinished -= Cursor_HoverFinished; }