YellowWee's Scripts

妳的世界能夠從此不同...而我的世界... 亦因妳而改變...

导航

2004年6月1日

摘要: 不知道什么时候会用上,先放在这里~ 为什么要得到程序名呢?System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase 下面这个还像是获得当前运行的组件名System.Reflection.Assembly.GetExecutingAssembly().FullName 阅读全文

posted @ 2004-06-01 16:55 YellowWee(端木柒) 阅读(814) 评论(1) 推荐(0) 编辑

摘要: 串行化是把Object转换为可以用于传输的一种形态,例如:你可以串行化一个Object并在Client端和Server端使用Http通过Internet传递.在另一边使用反串行化把流转换为Object. XML 串行化(XML serialization)只串行public字段(fields)和性质(property).XML 串行化不会包含类型信息.因为XML有极好的机制用来描... 阅读全文

posted @ 2004-06-01 16:32 YellowWee(端木柒) 阅读(1561) 评论(0) 推荐(1) 编辑

摘要: 用惯了窗口操作的你,可别忘了还有那些小命令.GUI环境经常受限于它们提供者想要提供的能力,有时候你需要超越这些设计者提供的模型,你会不断想要执行特别的操作,GUI可能不支持这样的操作.所以你有时得转向命令行了~~ 举个例子:要找出上周哪些C#文件没有改动过?Shell find -name '*.cs' -mtime +7 -printGUI 我想大家就只能使用"查... 阅读全文

posted @ 2004-06-01 14:27 YellowWee(端木柒) 阅读(777) 评论(0) 推荐(0) 编辑

摘要: http://msdn.microsoft.com/msdnmag/issues/02/06/Rich/default.aspxWindows Forms controls embedded in HTML pages: The embedded class must be derived from Control or from another Control-derived type. T... 阅读全文

posted @ 2004-06-01 14:26 YellowWee(端木柒) 阅读(2020) 评论(3) 推荐(0) 编辑