RSS 2.0 Feed
2003-11 Entries
摘要:一直以为Microsoft.VisualBasic命名空间里仅有VBCodeProvider类而已,不想该命名空间里还包含构成VisualBasic .NET运行时库的类和模块。而这些类和模块里的很多东西都是很有用的。想起以前为了实现程序简体字和繁体字互相转换,自己弄个简繁体字对应资源库然后从资源库里对应的找,方法土效率也低,是种让人抓狂的方法。而在该命名空间下的Strings模块里的StrConv函数就可以转换:   private string Simplified2Traditional(string source)  {       string result = Strings.StrConv(source, VbStrConv.TraditionalChinese, 0);       return result;  } 看起来感觉很舒服。稍微查看了下内部,大致是利用System.Globalization.CultureInfo类、编码和代码页等加上位运算判断转换的。有空整理下该资料再将其内部结构、编码和代码页给梳理下。 最近听说www.17173.com被sohu以高价收购了,感到有点意外。确实,随着网络的普及和网络速度的改善,网络游戏越来越热门了。看看有多少人在网吧或家里玩传奇、买点数等,就明白为什么有人说网络游戏挽救了中国的门户网站。...[阅读全文]

posted @ | Feedback (1) | Filed Under [ ASP.NET ]

摘要:在LonghornBlogs.com里看到了一段关于“Longhorn”的由来,很是有趣,摘录如下: Come and listen to a story about a man named GatesA rich pioneer looking to keep Windows rich (with features of course)And then one day while skiing Blackcomb and Whistler tooHe had to make a pit-stop along a highway 99 jewel...Longhorn bar that is, pints of beer, burgers too.... Well the first thing you know ol Gates got an ideaThe patrons said "Longhorn is what we got here"said "Vector GDI is the place you ought to be"So Gates tipped his glass and said "thank you kindly" Avalon, that is, WinFS and FX too. ... Y'all come back now, y'hear? 同时,LonghornBlogs.com里提出的Avalon's 5 Element Families 也是很新鲜J 另外,阅读了一点材料后,对Longhorn里的Sparkle有点迷惑,阅读了Put......[阅读全文]

posted @ | Feedback (0) | Filed Under [ ASP.NET ]

摘要:在Longhorn SDK站点里逗留看了阵子,越看越激动,把WinFX、"Longhorn" Markup Language (code-named "XAML")  & Avalon、WinFS等新名词新技术一一稍微浏览了下,激动兴奋之余,又有种比较大的莫名的压迫感。总是惊讶微软能走那么远。 Wesner在他站点上对Avalon命名空间分析了下,感觉还挺好的。摘录如下,更多详细看他的站点:查看命名空间变化。 The number of namespaces just for Avalon (shown below) is approximately the same as the number in the .NET Framework, but I believe Avalon has far more classes. "MSAvalon" will be changed to "System" in the future. You can see that scope of Avalon is far more than that of WinForms; it's essentially all is the control support of USER, the graphic support of GDI, and the application framework support of MFC. It includes a compound file implementation, input (via ink, mouse, keyboard), document level support ( common dialogs, commands, undo, design-time editing......[阅读全文]

posted @ | Feedback (2) | Filed Under [ ASP.NET ]