摘要: 阅读全文
posted @ 2015-10-08 09:03 西楼月光 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 默认情况下,webservice的请求等待60s就会放弃。如果要设置timeout时间,可以在使用请求前加如下语句:proxy.InnerChannel.OperationTimeout = TimeSpan.FromSeconds(30); 阅读全文
posted @ 2015-10-05 23:32 西楼月光 阅读(1142) 评论(0) 推荐(0) 编辑
摘要: Reusing Contro... 阅读全文
posted @ 2015-10-04 23:57 西楼月光 阅读(144) 评论(0) 推荐(0) 编辑
摘要: cmd.Style = (Style)this.Resources[ "AlternateBigButtonStyle"];后台设置style,来源于其他资源文件ResourceDictionary resourceDictionary = new ResourceDictionary();reso... 阅读全文
posted @ 2015-10-04 16:00 西楼月光 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Basic dropshadow Light blue dropshadow Blurred dropshadow with white text Close dropshadow Distant dropshadow 阅读全文
posted @ 2015-10-02 22:32 西楼月光 阅读(414) 评论(0) 推荐(1) 编辑
摘要: DashArray="1 2"代表显示1段,隐藏2段 射线渐变效果 阅读全文
posted @ 2015-10-02 17:11 西楼月光 阅读(251) 评论(0) 推荐(0) 编辑
摘要: string uriText = String.Format("/Product.xaml?productID={0}&type={1}", productID, productType);mainFrame.Navigate(new Uri(uriText), UriKind.Relative);... 阅读全文
posted @ 2015-10-01 23:36 西楼月光 阅读(299) 评论(0) 推荐(0) 编辑
摘要: private void Button_Click_1(object sender, RoutedEventArgs e) {// of the ASP.NET website.) string uri = Application.Current.Host.Sourc... 阅读全文
posted @ 2015-10-01 16:08 西楼月光 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 官方参考文档:http://docs.telerik.com/devtools/silverlight/styling-and-appearance/styling-apperance-themes-runtime 阅读全文
posted @ 2015-09-30 10:05 西楼月光 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 文章控件主题为editor控件。文章管理方式为:数据库记录editor的存储记录,有标题名,作者,日期等。文章管理实质是管理数据库文章记录,更新2部分数据:1、数据库文章表。2、editor自身使用文件*.rich。文章的新增:1、新增数据库表记录。2、新增*.rich。文章前台列表用的是ListB... 阅读全文
posted @ 2015-09-21 15:49 西楼月光 阅读(130) 评论(0) 推荐(0) 编辑