01 2013 档案

摘要:在 Microsoft.Devices.CameraButtons命名空间中。CameraButtons 类可以提供由设备快门按钮触发的事件。 CameraButtons.ShutterKeyHalfPressed += CameraButtons_ShutterKeyHalfPressed; CameraButtons.ShutterKeyPressed += CameraButtons_ShutterKeyPressed; CameraButtons.ShutterKeyReleased += CameraButtons_ShutterKeyRel... 阅读全文
posted @ 2013-01-25 11:47 tinyqf 阅读(444) 评论(0) 推荐(0)
摘要:确定应用程序是在实际的 WindowsPhone 设备上运行还是在 PC 上的设备模拟器上运行。代码如下: DeviceType dType = Microsoft.Devices.Environment.DeviceType; switch (dType) { case DeviceType.Device: MessageBox.Show("设备"); break; case DeviceTy... 阅读全文
posted @ 2013-01-24 15:25 tinyqf 阅读(397) 评论(0) 推荐(0)