private void btn_user_Qr_Click(object sender, RoutedEventArgs e) { //var info = gv_user.DataContext as UserInfoModel; frame.Navigate(typeof(MyQrPage), new object[] { new MyqrModel() { name = Account.myInfo.name, photo = Account.myInfo.face, qr = string.Format("http://qr.liantu.com/api.php?w=500&text={0}&inpt=00AAF0&logo={1}", Uri.EscapeDataString("http://space.bilibili.com/" + ApiHelper.GetUserId()), Uri.EscapeDataString(Account.myInfo.face)), sex = Account.myInfo.Sex } }); fy.Hide(); }
private void btn_UserInfo_Click(object sender, RoutedEventArgs e) { frame.Navigate(typeof(UserCenterPage), ApiHelper.GetUserId()); fy.Hide(); }