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
阅读全文
摘要:1. 对于静态资源,如下binding: <UserControl.Resources> <l:i18n x:Key="i18n" /></UserControl.Resources><StackPanel x:Name="LayoutRoot" Orientation="Horizontal"> <TextBox /> <Button Content="{...
阅读全文