摘要: 事件发生序列 下图展示了IE的事件发生序列.但这仅仅为不包含帧的普通网页浏览. (没有包含诸如 ProgressChange, CommandStateChange, OnToolBar, 等等事件.)不是所有事件都会被激发. 但是 BeforeNavigate2 和DocumentComplete 每次浏览都会被激发. Figure 7-5. The sequence of events... 阅读全文
posted @ 2013-06-13 13:10 沧海一滴 阅读(195) 评论(0) 推荐(0) 编辑
摘要: (一)log4net的标准配置文档示例 <?xmlversion="1.0"encoding="utf-8" ?> <configuration> <configSections> <sectionname="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler" /> </configSections> <... 阅读全文
posted @ 2013-06-13 11:44 沧海一滴 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 写在前面的: 在网上找的,再加上自己的心得 AssemblyInfo.cs:(加载配置文件也可以写到app.config中) [assembly: log4net.Config.XmlConfigurator(ConfigFile = "systemconfig/log4net.xml", Watch = true)] Test.cs: ILog logger = LogMana... 阅读全文
posted @ 2013-06-13 11:32 沧海一滴 阅读(380) 评论(0) 推荐(0) 编辑