Loadrar
所属分类:OA办公系统
开发工具:C#
文件大小:310KB
下载次数:17
上传日期:2009-12-26 09:03:38
上 传 者:
583540466
说明: 一些组件开发实例源码,一些组件开发实例源码
(A number of examples of component development source code, a number of examples of component development source code)
文件列表:
Loadrar\Chapter 07\MyLocalizedForm\AssemblyInfo.cs (2426, 2001-08-05)
Loadrar\Chapter 07\MyLocalizedForm\bin\Debug\en\MyLocalizedForm.resources.dll (3072, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\bin\Debug\en-US\MyLocalizedForm.resources.dll (3072, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\bin\Debug\it-IT\MyLocalizedForm.resources.dll (7168, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\bin\Debug\MyLocalizedForm.exe (53248, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\Form1.cs (15736, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\Form1.en-US.resx (1733, 2001-09-20)
Loadrar\Chapter 07\MyLocalizedForm\Form1.en.resx (1733, 2001-09-20)
Loadrar\Chapter 07\MyLocalizedForm\Form1.it-IT.resx (8043, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\Form1.it.resx (0, 2001-08-05)
Loadrar\Chapter 07\MyLocalizedForm\Form1.resx (29935, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\Graphic.resources.dll (2560, 2001-08-06)
Loadrar\Chapter 07\MyLocalizedForm\images\USAFLAG5.ICO (766, 1992-07-05)
Loadrar\Chapter 07\MyLocalizedForm\Images.it-IT.resx (5897, 2002-03-12)
Loadrar\Chapter 07\MyLocalizedForm\Images.resx (5999, 2002-03-11)
Loadrar\Chapter 07\MyLocalizedForm\licenses.licx (360, 2001-08-05)
Loadrar\Chapter 07\MyLocalizedForm\MyLocalizedForm.csproj (5604, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\MyLocalizedForm.csproj.user (1772, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\MyLocalizedForm.sln (926, 2001-08-05)
Loadrar\Chapter 07\MyLocalizedForm\MyLocalizedForm.suo (8704, 2002-03-13)
Loadrar\Chapter 07\MyLocalizedForm\MyNewResourceFile.resx (6726, 2002-03-10)
Loadrar\Chapter 07\MyLocalizedForm\MyStrings.it-IT.resx (2050, 2002-03-10)
Loadrar\Chapter 07\MyLocalizedForm\MyStrings.resx (2043, 2002-03-09)
Loadrar\Chapter 07\ProcessViewer\AssemblyInfo.cs (2426, 2001-07-28)
Loadrar\Chapter 07\ProcessViewer\Folder Closed.bmp (730, 2002-01-21)
Loadrar\Chapter 07\ProcessViewer\Folder Open.bmp (730, 2002-01-21)
Loadrar\Chapter 07\ProcessViewer\FormMain.cs (17964, 2002-03-08)
Loadrar\Chapter 07\ProcessViewer\FormMain.resx (10079, 2002-03-08)
Loadrar\Chapter 07\ProcessViewer\FormModuleInfo.cs (13194, 2002-03-08)
Loadrar\Chapter 07\ProcessViewer\FormModuleInfo.resx (1918, 2001-11-13)
Loadrar\Chapter 07\ProcessViewer\FormProcessInfo.cs (15157, 2001-11-13)
Loadrar\Chapter 07\ProcessViewer\FormProcessInfo.resx (1919, 2001-11-13)
Loadrar\Chapter 07\ProcessViewer\FormSystemInfo.cs (14701, 2001-11-13)
Loadrar\Chapter 07\ProcessViewer\FormSystemInfo.resx (1918, 2001-11-13)
Loadrar\Chapter 07\ProcessViewer\licenses.licx (1582, 2001-11-13)
Loadrar\Chapter 07\ProcessViewer\MyMenuItem.cs (2633, 2001-08-25)
Loadrar\Chapter 07\ProcessViewer\MyMenuItem.resx (1733, 2001-09-20)
Loadrar\Chapter 07\ProcessViewer\MyPrintDocument.cs (2409, 2001-08-01)
Loadrar\Chapter 07\ProcessViewer\MyPrintDocument.resx (0, 2001-08-01)
Loadrar\Chapter 07\ProcessViewer\MyPrintPreviewDialog.cs (671, 2001-07-28)
... ...
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
近期下载者:
相关文件:
收藏者: