2011年5月31日

LocBaml

摘要: http://www.codeproject.com/KB/WPF/LocBamlClickOnce.aspx<UICulture>en-US</UICulture><UICulture>zh-CN</UICulture>msbuild /t:updateuid PGPowerPoint_ListTool.csproj msbuild /t:checkuid PGPowerPoint_ListTool.csproj LocBaml.exe /parse en-US/PGPowerPoint_ListTool.resources.dll /out: 阅读全文

posted @ 2011-05-31 09:59 Y# 阅读(231) 评论(0) 推荐(0) 编辑

2011年5月27日

Share wpf styles for more solution projects

摘要: first, you would have to create your styles in one (or more) RDs in your project "AppStyle". Let's assume there would be a file "stili.xaml" in that project's root folder, containing something along the lines of:<ResourceDictionary xmlns="http://schemas.microsoft. 阅读全文

posted @ 2011-05-27 17:24 Y# 阅读(160) 评论(0) 推荐(0) 编辑

2011年5月18日

DirectoryInfo

摘要: //DirectoryInfo di = new DirectoryInfo(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)); //Directory.CreateDirectory(di + @"\PGPowerPoint\"); //Directory.CreateDirectory(di + @"\PGPowerPoint\" + @"\StudentLists\"); //listsDirectory = new DirectoryInfo(d 阅读全文

posted @ 2011-05-18 09:08 Y# 阅读(173) 评论(0) 推荐(0) 编辑

2011年5月14日

TextBox Validation

摘要: http://www.codeproject.com/KB/WPF/wpfvalidation.aspx 阅读全文

posted @ 2011-05-14 10:42 Y# 阅读(114) 评论(0) 推荐(0) 编辑

2011年5月13日

加快wpf程序 启动速度

摘要: http://blogs.msdn.com/b/jgoldb/archive/2007/10/10/improving-wpf-applications-startup-time.aspx 阅读全文

posted @ 2011-05-13 22:46 Y# 阅读(552) 评论(0) 推荐(0) 编辑

2011年5月11日

Chart without legend

摘要: <Grid xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:charting="clr-namespace:Microsoft.Windows.Controls.DataVisualization.Charting;assembly=Microsoft.Windows.Controls.DataVisualization" xmlns:datavis=&q 阅读全文

posted @ 2011-05-11 15:53 Y# 阅读(384) 评论(0) 推荐(0) 编辑

2011年5月6日

MEF

摘要: http://www.cnblogs.com/beniao/archive/2010/08/11/1797537.html 阅读全文

posted @ 2011-05-06 08:37 Y# 阅读(107) 评论(0) 推荐(0) 编辑

2011年5月3日

ICollectionView

摘要: this.lcv = new ListCollectionView(s); this.listBox.ItemsSource = this.lcv; this.filterFx = (p) => ((string)p).ToUpper().Contains(this.textBox.Text.ToUpper()); lcv.Filter = this.filterFx; lcv.Refresh(); if (lcv.Count == 0) lcv.Filter = null; else lcv.Filter = filterFx; 阅读全文

posted @ 2011-05-03 17:21 Y# 阅读(191) 评论(0) 推荐(0) 编辑

2011年4月25日

WPF 应用程序使用程序的模型视图 ViewModel 设计模式

摘要: http://msdn.microsoft.com/zh-cn/magazine/dd419663.aspx 阅读全文

posted @ 2011-04-25 16:24 Y# 阅读(158) 评论(0) 推荐(0) 编辑

Problems and Solutions with Model-View-ViewModel (转)

摘要: http://msdn.microsoft.com/en-us/magazine/ff798279.aspx 阅读全文

posted @ 2011-04-25 11:40 Y# 阅读(126) 评论(0) 推荐(0) 编辑

导航