Monthly Archives: November 2007

一个困扰好几个星期的破问题

实现了INotifyPropertyChanged接口,但却忘了在class定义加, 导致数据更新后UI不更新,要记住这个教训。

Posted in Uncategorized | Leave a comment

另类压缩

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Security.Cryptography;using System.Diagnostics; namespace DupFileCompression{    class Program    {        static void Main(string[] args)        {            string sourceFolder = args[0];            string option = args[1].Substring(1);             if (option == "c")            {                Console.WriteLine("Compress folder: {0}", args[0]);                 var dupFiles =                    … Continue reading

Posted in Uncategorized | Leave a comment

default.win32manifest’ cannot be found

It happens when I use Orcas for some old .net 2.0 projects. Solution: Copy default.win32manifest from WINDOWS\Microsoft.NET\Framework\v3.5 to WINDOWS\Microsoft.NET\Framework\v2.0.50727.

Posted in Uncategorized | Leave a comment

Can’t find namespace or class in WPF designer

Often when you want to use some your own classes or controls, WPF designer says that namespace or class can’t be found. Sometimes, if the project is not built, WPF designer definitly can’t find these classes. However, after I built … Continue reading

Posted in Uncategorized | 1 Comment