Example #1
0
 private void PageLoaded()
 {
     progressBar1.IsIndeterminate = true;
     btn_login.IsEnabled          = false;
     btn_login.Content            = "请稍等 ...";
     if (IsolatedStorageSettingHelper.IsolateStorageKeyIsExist("account"))
     {
         UserName.Text = IsolatedStorageSettingHelper.GetIsolateStorageByStr("account");
     }
     if (IsolatedStorageSettingHelper.IsolateStorageKeyIsExist("emailType"))
     {
         EmailType.Text = IsolatedStorageSettingHelper.GetIsolateStorageByStr("emailType");
     }
     if (IsolatedStorageSettingHelper.IsolateStorageKeyIsExist("password"))
     {
         Password.Password = IsolatedStorageSettingHelper.GetIsolateStorageByStr("password");
         Password2.Text    = "密码已记录";
     }
     //UserName.Text = "";
     //EmailType.Text = "@163.com";
     //Password.Password = "";
     webbrowser1.Navigate(new Uri("http://love.163.com/logout?url=http://love.163.com/?from=wap"));
 }