摘要: //注册事件PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame; //离开页面事件触发(如来电)if (frame != null){ frame.Obscured += new EventHandler<ObscuredEventArgs>(frame_Obscured); frame.Unobscured += new EventHandler(frame_Unobscured);} 阅读全文
posted @ 2013-01-07 21:30 hack25 阅读(224) 评论(0) 推荐(0) 编辑