コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: dhjung/TeleKinect
 // Called when the cursor leaves this polygon's visible area
 private void RectangleOnCursorLeave7(object sender, CursorEventArgs args)
 {
     if (remoteRec != R7 || remoteRec == null)
     {
         args.Cursor.EndHover();
         args.Cursor.HoverFinished -= Cursor_HoverFinished;
         rectangleNumber = 0;
     }
 }
コード例 #2
0
        // 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;
        }
コード例 #3
0
ファイル: MainWindow.xaml.cs プロジェクト: dhjung/TeleKinect
 // Called when the cursor enters this polygon's visible area
 private void RectangleOnCursorEnter9(object sender, CursorEventArgs args)
 {
     if (remoteRec != R9 || remoteRec == null)
     {
         args.Cursor.BeginHover();
         args.Cursor.HoverFinished += Cursor_HoverFinished;
         rectangleNumber = 9;
     }
 }
コード例 #4
0
        // 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;
        }