精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
First, I would like to thank everyone who have contributed to further developement of this control. 首先,我要感谢所有对此控件有所贡献的朋友。 I have moved the project to google code and will not update this page any longer. Here is the download link: 我把这个项目转移到谷歌代码下,并将不再更新这个页面。下载这个文件: csEXWB v1.0.0.4 Please use the "issues" section to report any bugs 请使用“问题”部分报告任何错误 And here is a list of additions and bug fixs which you can be found in the openning comments of the csEXWB.cs file: 这里是一个增加功能和bug修复列表,您可以在开放csEXWB的评论文件里找到如下内容: //Interfaces: // IAsyncMoniker - added to LoadHTMLMoniker to resolve relative URLs properly and not as about:blank // IHostDialogHelper - to display a trusted HTML model dialog without the added title of ( - Internet Explorer...) // IHTMLCaret // ILineInfo // IHTMLEditServices // IHTMLEditServices2 // IHTMLEditDesigner // IMarkupContainer // IHighlightRenderingServices // IMarkupPointer // IMarkupServices // IDisplayPointer // IDisplayServices // ISegment // ISegmentList // ISegmentListIterator // IHighlightSegment // IElementSegment // ISelectionServicesListener // ISelectionServices // IHTMLRenderStyle // IHTMLPainter // IHTMLPaintSite // IOmNavigator // IHTMLEditHost // IHTMLWindow3 // IHTMLWindow4 // IHTMLPopup - to display HTML tooltips // //Interfaces + methods to handle single Webbrowser history session based on ITravelLogxxx interfaces: // ITravelLogEntry // ITravelLogStg // IEnumTravelLogEntry // // GetTravelLogCount // GetTraveLogEntries // AddTravelLogEntry // RemoveTravelLogEntries // RemoveTravelLogEntry //Methods: // AddUrlToTrustedZone - Attempts to add a given url to internet trusted zone // UnicodeToHTMLEncoding - Attempts to convert UNICODE chars to their numeric values // to be used with LoadHtmlIntoBrowser methods. sample of output ح // // ClearSessionCookies - Attempts to clear session cookies // UserAgnet - attempts to retreive IE useragnet // AutomationTask_PerformMultiSelectListItems // AutomationTask_SimulateKeyStroke // AutomationTask_NamedLinkScrollIntoView - Attempts to scroll into view a link given it's name or id // GetOpticalZoomRange - IE7 optical zoom // SetOpticalZoomRange - IE7 optical zoom // Ability to catch mouse back and foreard buttons via IEServerWindow class. Contributed by logan1337. // //Events: // To relay SnapRect calls of IHTMLEditHost interface added to csEXWB class. Used when designmode = on // HTMLEditHostSnapRectEventHandler // HTMLEditHostSnapRectEvent // //Misc: // frmWindowExternal to demonstrate communication between a page and this control // using ObjectForScripting property and javascript window.external // frmAutomation to demonstrate automation tasks such as selecting a list item,... // WindowEnumerator class and frmHTMLDialogHandler form to demonstrate how to intercept and monitor a HTML dialog launched using showModelessDialog() and showModalDialog() methods // HTMLEditHelper - added Underline(IHTMLElement) + Underline(int wordindex, int wordlen) methods. // Added popup handling to frmPopup. // frmHTMLParser to demonstrate Using HTMLParser (MSHTML) as a UI-less HTML parser // Added a FileSize parameter to FileDownloadExEventArgs event arguments. // //BUG FIXS: // PerformAutomationTask can perform searches based on name or id. And for htmloptionelements, either value or text // The doc2.body object is null when Clear() is called on a new instance of the control. // Undo, redo action in frmHTMLEditor was fixed // WinExternal class - added ComVisibleAttribute(true) and security permission declarations to have it recognized as a valid object // Setting FileDownloadDirectory property in form_load as this property, if not set, will reflect the file download directory of my pc. // execScript method - Was checking for the length of wrong parameter // AddThisIEServerHwndToComLib - Now it sets the IEServerHWND at every call. // While attempting to download attachements, Filename was being reported as GetAttachment.aspx (hotmail) in FileDownloadExStart event. Regards 问候 |