摘要:
让WINDOWS PHONE 震动代码如下: VibrateController是在命名空间Microsoft.Devices里;public void Vibrate(long durationSeconds) { VibrateController vibController = VibrateController.Default; TimeSpan ts = new TimeSpan(00, 00, durationSeconds); vibController.Start(ts); ... 阅读全文
摘要:
方法如下 :public MainPage(){ InitializeComponent(); Color themebackground = (Color)Application.Current.Resources["PhoneForegroundColor"]; if (themebackground.ToString() == "#FFFFFFFF") { this.PageTitle.Text = "Dark "; } else if (themebackground.ToString() == "#DE000000 阅读全文