首页 > 其他 > 详细

navigate frame框架

时间:2015-10-02 00:10:56      阅读:189      评论:0      收藏:0      [点我收藏+]
string uriText = String.Format("/Product.xaml?productID={0}&type={1}", productID, productType);
mainFrame.Navigate(new Uri(uriText), UriKind.Relative);

  

int productID, type;
if (this.NavigationContext.QueryString.ContainsKey("productID"))
 productID = Int32.Parse(this.NavigationContext.QueryString[ "productID"]);
if (this.NavigationContext.QueryString.ContainsKey("type"))
 type = Int32.Parse(this.NavigationContext.QueryString[ "type"]);

 

navigate frame框架

原文:http://www.cnblogs.com/xlyg-14/p/4851751.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!