12 2011 档案

摘要:近日弄了段以下程序(程序发布在IIS上,程序在运行时要到网站下载文件):WebClientclient=newWebClient();client.DownloadStringCompleted+=delegate(objects,DownloadStringCompletedEventArgsde){if(de.Error!=null){LoadingMessage="Anerroroccured:"+de.Error.Message;return;}}client.DownloadProgressChanged+=delegate(objectsender,Downlo 阅读全文
posted @ 2011-12-27 14:36 cubean 阅读(1190) 评论(0) 推荐(0) 编辑
摘要:1. 对于静态资源,如下binding: <UserControl.Resources> <l:i18n x:Key="i18n" /></UserControl.Resources><StackPanel x:Name="LayoutRoot" Orientation="Horizontal"> <TextBox /> <Button Content="{... 阅读全文
posted @ 2011-12-16 11:33 cubean 阅读(374) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示