在我的 Windows Phone 应用程序中,我需要计算用户从当前页面单击返回按钮的次数。可能吗?
问问题
566 次
2 回答
1
你有没有这样尝试过。
int counter =0;
protected override void OnBackKeyPress
(System.ComponentModel.CancelEventArgs e)
{
base.OnBackKeyPress(e);
counter++;
textbox1.text = counter.tostring();
navigation process;
}
于 2012-05-30T10:08:30.437 回答
1
BackButtonPress 有一个事件
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
于 2012-05-30T10:04:40.997 回答