Skip to content

Instantly share code, notes, and snippets.

@ionoy
Created March 5, 2013 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ionoy/5090444 to your computer and use it in GitHub Desktop.
Save ionoy/5090444 to your computer and use it in GitHub Desktop.
var rotating = from c1 in mouseClick
let originalValue = model.Value
from move in _mouseMove.TakeUntil(mouseClick)
select new {
originalValue,
downPos = c1.pos,
movePos = move.EventArgs.GetPosition(this)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment