navigate frame框架
2015-10-01 23:36
162 查看
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"]);
相关文章推荐
- PHP正则表达式-修饰符
- 如何制作一面智能镜子
- 华为oj_学英语_改
- 关于looper,handle,messageQuerry
- Oracle分页
- 《转载》编程入门指南 v1.4
- CentOS 7上基于LAMP的形式搭建phpMyAdmin,wordpress和Discuz
- 与正则相关的一切 (示例)JS Date 转换日期格式
- UIView常见方法总结(一)
- 垃圾回收机制及析构器原理解析
- C# 跨线程访问控件的解决方法
- Java正则表达式过滤汉字
- Java正则表达式过滤汉字
- Java正则表达式过滤汉字
- 配置jdk相关的记录
- USACO 2.3 Longest Prefix
- 激光投影POV(下)(2015-10-01)
- 100个常用的linux命令
- Java核心技术第3章(8)
- 把windows窗口置顶--Windows on Top