There are 3 separate implementations of MyCustomWebBrowser. The first one
is in this folder. The other two were developed after the book went to print,
and can be found on my website at
http://www.faisoncomputing.com/samples/programming_samples.htm
The three samples achieve the same goals, using different techniques.
In all cases, the WebBrowser host is a Windows Form. The
following list describes the implementation differences.
1. Book sample. This code uses a DLL that contains all the Ole interfaces
necessary to customize the WebBrowser. The code shows how to
implement the IDocHostUIHandler interface.
2. WebBrowserSample1, on my website, shows how to use the ICustomDoc interface to
establish an IDocHostUIHandler for MsHtml. Using ICustomDoc to customize
the WebBrowser is necessary when the host component doesn't implement
IOleClientSite.
3. WebBrowserSample2, on my website, is the most complete example. It uses a Windows
Form that implements the following Ole interfaces:
IOleClientSite
IDocHostUIHandler
IOleDocumentSite
IDocHostShowUI
By virtue of being an OleClientSite, MsHtml automatically calls the
IDocHostUIHandler and IDocHostShowUI methods of the host Windows Form.
This example program has separate files for the following Ole
interfaces used:
IOleClientSite
IDocHostUIHandler
IOleDocumentSite
IDocHostShowUI
IOleClientSite
IOleObject
没有合适的资源?快使用搜索试试~ 我知道了~
C#基于组件的开发实践
共687个文件
cs:144个
resx:76个
dll:51个
需积分: 9 4 下载量 46 浏览量
2008-12-23
14:42:21
上传
评论
收藏 1.39MB RAR 举报
温馨提示
C#基于组件的开发实践,可以帮助C#的爱好者更好的学习和分享,学的过瘾。
资源详情
资源评论
资源推荐
收起资源包目录
C#基于组件的开发实践 (687个子文件)
Global.asax 100B
Global.asax 93B
Global.asax 91B
Global.asax 90B
Global.asax 85B
Global.asax 83B
Global.asax 79B
Global.asax 76B
UserControlNavigator.ascx 1KB
UserControlNavigator.ascx 1KB
UserControlContent.ascx 1KB
UserControlContent.ascx 1KB
Service1.asmx 111B
Service1.asmx 93B
WebForm1.aspx 5KB
WebForm1.aspx 3KB
WebForm2.aspx 3KB
WebForm4.aspx 2KB
WebForm3.aspx 2KB
WebFormNavigator.aspx 1KB
WebForm1.aspx 993B
WebForm1.aspx 917B
WebForm1.aspx 892B
WebFormContent.aspx 850B
FeatherTexture.bmp 16KB
Folder Open.bmp 730B
Folder Closed.bmp 730B
Pause.bmp 246B
Start.bmp 246B
Stop.bmp 246B
MyUserControl.bmp 246B
MyWebControl.bmp 246B
refresh.bmp 246B
print.bmp 246B
back.bmp 246B
home.bmp 246B
MyCustomControl.bmp 246B
stop.bmp 246B
search.bmp 246B
forward.bmp 246B
refresh.bmp 246B
back.bmp 246B
forward.bmp 246B
search.bmp 246B
stop.bmp 246B
home.bmp 246B
print.bmp 246B
UserControlContent.bmp 246B
UserControlNavigator.bmp 246B
deptodoc.btr 324B
doctodep.btr 324B
doctodep.btr 324B
doctodep.btr 324B
deptodoc.btr 324B
deptodoc.btr 324B
deptodoc.btr 324B
doctodep.btr 324B
deptodoc.btr 324B
doctodep.btr 324B
service.cnf 1KB
service.cnf 1KB
service.cnf 1KB
service.cnf 1KB
service.cnf 1KB
access.cnf 115B
access.cnf 115B
access.cnf 115B
access.cnf 115B
access.cnf 115B
services.cnf 22B
services.cnf 3B
services.cnf 3B
services.cnf 3B
services.cnf 3B
Web.config 3KB
Web.config 3KB
Web.config 3KB
Web.config 3KB
Web.config 3KB
Web.config 3KB
Web.config 3KB
Web.config 3KB
MyGatewayServiceTestFixture.exe.config 421B
MyGatewayServiceHost.exe.config 414B
MyNestedMasterDetailForm.cs 83KB
Form1.cs 62KB
MyMasterDetailForm.cs 45KB
MyNavigatorForm.cs 43KB
MyGridForm.cs 33KB
MyDataSet.cs 30KB
MyDataSet.cs 29KB
MyDataSet.cs 21KB
Form1.cs 21KB
Form1.cs 18KB
MyUserControl.cs 18KB
FormMain.cs 18KB
MyDataSet.cs 16KB
MyDataSet.cs 16KB
DataSet1.cs 16KB
Form1.cs 15KB
共 687 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
xyl44
- 粉丝: 0
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0