开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜