資源簡介
c#寫的activex控件,可用ie加載,可實(shí)軟簽名,使用模板打印表單
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Data;
using?System.Text;
using?System.Windows.Forms;
using?System.Runtime.InteropServices;
using?System.IO;
using?Newtonsoft.Json;
using?Newtonsoft.Json.Linq;
using?mshtml;
using?System.Reflection;
using?System.Drawing.Imaging;
using?IDR210_IDCard;
namespace?EasyActivex
{
????[Guid(“685F0A47-944D-4145-BF4E-76A02A422B03“)]
????public?partial?class?EUserControl?:?UserControl?IobjectSafety
????{
????????#region?變量定義
????????bool?bInit?=?false;//判斷界面是否初始化顯示?
????????private?IHTMLWindow2?window2;
????????private?IHTMLDocument2?document2;
????????private?IHTMLDocument3?document3;
????????//object?result?=?this.RunJs(“startExam“?kcbh);調(diào)用js函數(shù)
????????bool?bSaveKm2Pdf?=?false;
????????bool?bSaveKm3Pdf?=?false;
????????string?km2filename?=?@“c:/kemu2cjd.pdf“;
????????string?km2TempletFilename?=?@“c:/kemu2.pdf“;
????????string?km3filename?=?@“c:/kemu3cjd.pdf“;
????????string?km3TempletFilename?=?@“c:/kemu3.pdf“;
????????IDR210_IDCardReader?idrReader;
????????int?mReadCarTicks?=?0;
????????#endregion
????????public?EUserControl()
????????{
????????????InitializeComponent();
????????????System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls?=?false;//設(shè)置該屬性?為false多線程訪問控件
????????????//timer1.Interval?=?1000;
????????????//timer1.Enabled?=?true;
????????????//timer1.Start();
????????????this.pictureBox1.Paint?+=?pictureBox1_Paint;??//?可以移動(dòng)到設(shè)計(jì)器生成代碼里
???????????
????????}
????????#region?IobjectSafety?成員
????????private?const?string?_IID_IDispatch?=?“{00020400-0000-0000-C000-000000000046}“;
????????private?const?string?_IID_IDispatchEx?=?“{a6ef9860-c720-11d0-9337-00a0c90dcaa9}“;
????????private?const?string?_IID_IPersistStorage?=?“{0000010A-0000-0000-C000-000000000046}“;
????????private?const?string?_IID_IPersistStream?=?“{00000109-0000-0000-C000-000000000046}“;
????????private?const?string?_IID_IPersistPropertyBag?=?“{37D84F60-42CB-11CE-8135-00AA004BB851}“;
????????private?const?int?INTERFACESAFE_FOR_UNTRUSTED_CALLER?=?0x00000001;
????????private?const?int?INTERFACESAFE_FOR_UNTRUSTED_DATA?=?0x00000002;
????????private?const?int?S_OK?=?0;
????????private?const?int?E_FAIL?=?unchecked((int)0x80004005);
????????private?const?int?E_NOINTERFACE?=?unchecked((int)0x80004002);
????????private?bool?_fSafeForscripting?=?true;
????????private?bool?_fSafeForInitializing?=?true;
????????public?int?GetInterfaceSafetyOptions(ref?Guid?riid?ref?int?pdwSupportedOptions?ref?int?pdwEnabledOptions)
????????{
????????????int?Rslt?=?E_FAIL;
????????????string?strGUID?=?riid.ToString(“B“);
????????????pdwSupportedOptions?=?INTERFACESAFE_FOR_UNTRUSTED_CALLER?|?INTERFACESAFE_FOR_UNTRUSTED_DATA;
????????????switch?(strGUID)
????????????{
????????????????case?_IID_IDispatch:
????????????????case?_IID_IDispatchEx:
????????????????????Rslt?=?S_OK;
????????????????????p
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????8192??2018-09-12?14:24??ExamReportActivex\Bin\AxInterop.AcroPDFLib.dll
?????文件??????10752??2018-04-14?14:55??ExamReportActivex\Bin\AxInterop.APla
?????文件??????12800??2018-07-04?19:53??ExamReportActivex\Bin\BobExamMgr.dll
?????文件????3222016??2012-07-30?09:48??ExamReportActivex\Bin\DevComponents.DotNetBar2.dll
?????文件??????26624??2018-07-17?13:46??ExamReportActivex\Bin\EasyActivex.dll
?????文件??????56832??2018-07-17?13:46??ExamReportActivex\Bin\EasyActivex.pdb
?????文件???????3204??2018-07-17?13:46??ExamReportActivex\Bin\EasyActivex.tlb
?????文件?????268800??2018-09-12?14:24??ExamReportActivex\Bin\ExamReportActivex.dll
?????文件??????36352??2018-09-12?14:24??ExamReportActivex\Bin\ExamReportActivex.pdb
?????文件???????3660??2018-09-12?14:24??ExamReportActivex\Bin\ExamReportActivex.tlb
?????文件??????18944??2014-10-09?13:12??ExamReportActivex\Bin\IExamInterface.dll
?????文件?????488945??2018-04-13?16:26??ExamReportActivex\Bin\InitVideo.mp4
?????文件?????614716??2015-10-14?16:54??ExamReportActivex\Bin\InitVideo1.mp4
?????文件??????11776??2018-09-12?14:24??ExamReportActivex\Bin\Interop.AcroPDFLib.dll
?????文件??????24576??2018-04-14?14:55??ExamReportActivex\Bin\Interop.APla
?????文件????6123520??2012-03-02?23:30??ExamReportActivex\Bin\iTextAsian.dll
?????文件????4767744??2005-11-03?16:01??ExamReportActivex\Bin\iTextAsianCmaps.dll
?????文件????3989504??2014-05-20?10:26??ExamReportActivex\Bin\itextsharp.dll
?????文件?????513024??2018-03-24?17:40??ExamReportActivex\Bin\Newtonsoft.Json.dll
?????文件??????11264??2018-04-14?15:04??ExamReportActivex\Bin\VedioShow.dll
?????文件?????????95??2013-06-21?08:59??ExamReportActivex\Cab打包和簽名工具\(yùn)Cab打包工具\(yùn)build.bat
?????文件??????70656??2003-04-18?16:20??ExamReportActivex\Cab打包和簽名工具\(yùn)Cab打包工具\(yùn)cabarc.exe
?????文件?????163156??2013-06-21?09:00??ExamReportActivex\Cab打包和簽名工具\(yùn)Cab打包工具\(yùn)EasyActivex.cab
?????文件?????445952??2013-06-21?09:00??ExamReportActivex\Cab打包和簽名工具\(yùn)Cab打包工具\(yùn)EasySetup.msi
?????文件????????181??2013-06-21?08:58??ExamReportActivex\Cab打包和簽名工具\(yùn)Cab打包工具\(yùn)install.inf
?????文件??????12800??2013-06-14?15:01??ExamReportActivex\Cab打包和簽名工具\(yùn)簽名工具\(yùn)ActivexVB.dll
?????文件???????7440??1998-10-27?14:33??ExamReportActivex\Cab打包和簽名工具\(yùn)簽名工具\(yùn)cert2spc.exe
?????文件??????59664??1998-10-27?14:33??ExamReportActivex\Cab打包和簽名工具\(yùn)簽名工具\(yùn)certmgr.exe
?????文件??????15632??1998-10-27?14:33??ExamReportActivex\Cab打包和簽名工具\(yùn)簽名工具\(yùn)chktrust.exe
?????文件??????14608??1998-10-27?14:33??ExamReportActivex\Cab打包和簽名工具\(yùn)簽名工具\(yùn)makecat.exe
............此處省略129個(gè)文件信息
評論
共有 條評論