Lazyloon
不明真相的群众不得不去打酱油......
摘要: 今天在看C#的文件管理,看到了File.SetAttributes(this.textBox1.Text,MyAttributes|FileAttributes.System);从格式上说File.SetAttributes(string path,FileAttributes fileAttributes),为什么多一个“|”运算符呢? MSDN上给了一个例子:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem; 阅读全文
posted @ 2008-11-21 15:44 Lazyloon 阅读(1204) 评论(1) 推荐(0)
摘要: 该怎么说呢,很长时间没有写程序,竟然忘了sln文件与csproj文件的区别: sln是解决方案文件,可以包含多个csproj工程(项目)文件 无地自容啊! 今天有时间重操旧业,运行了一个.net windows程序,跳出“若要调试此模块,请将其项目生成配置更改为“调试”模式。若要取消显示此消息,请禁用“启动时若没有用户代码则发出警告”调试器选项。”,... 阅读全文
posted @ 2008-11-21 11:05 Lazyloon 阅读(84) 评论(0) 推荐(0)