05 2011 档案

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# 阅读(239) 评论(0) 推荐(0)

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# 阅读(170) 评论(0) 推荐(0)

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# 阅读(184) 评论(0) 推荐(0)

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

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

加快wpf程序 启动速度
摘要:http://blogs.msdn.com/b/jgoldb/archive/2007/10/10/improving-wpf-applications-startup-time.aspx 阅读全文

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

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# 阅读(391) 评论(0) 推荐(0)

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

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

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# 阅读(201) 评论(0) 推荐(0)

导航