testing mouse events in wpf
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 wi开发者_如何学Goth 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
精彩评论