views:

45

answers:

0

for example, here's some code from an implementation of an attached behavior for a double click command:

private static void fe_MouseDown(object sender, MouseButtonEventArgs e) {
        if (e.ClickCount != 2) return;
        ...       
 }

assuming you have a thin client with the bulk of the logic in a testable architecture, is there a cheap and relatively painless way to test logic that depends on user gestures like a mouse event?

Cheers,
Berryl