91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

vs2005的WebBrowser控件時(shí)有NewWindow事件,可用于開發(fā)分頁瀏覽器 分頁瀏覽器所謂"分頁",從實(shí)現(xiàn)上講就是"控件的動態(tài)添加",當(dāng)前瀏覽器產(chǎn)生新窗體時(shí),先new出一個(gè)TabPage,再new一個(gè)WebBrowser,把這個(gè)WebBrowser加載了一些事件以后添加到先前的這個(gè)TabPage上,然后把這個(gè)TabPage添加到"主窗體"tabControl1中。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Windows.Forms;
using?System.Reflection;

namespace?simpleIE
{
????partial?class?AboutBox1?:?Form
????{
????????public?AboutBox1()
????????{
????????????InitializeComponent();

????????????//??Initialize?the?AboutBox?to?display?the?product?information?from?the?assembly?information.
????????????//??Change?assembly?information?settings?for?your?application?through?either:
????????????//??-?Project->Properties->Application->Assembly?Information
????????????//??-?AssemblyInfo.cs
???????????//?this.Text?=?String.Format(“About?{0}“?Assemblytitle);
???????????//?this.labelProductName.Text?=?AssemblyProduct;
???????????//?this.labelVersion.Text?=?String.Format(“Version?{0}“?AssemblyVersion);
???????????//?this.labelCopyright.Text?=?AssemblyCopyright;
???????????//?this.labelCompanyName.Text?=?AssemblyCompany;
???????????//?this.textBoxDescription.Text?=?AssemblyDescription;
????????}

????????#region?Assembly?Attribute?Accessors

????????public?string?Assemblytitle
????????{
????????????get
????????????{
????????????????//?Get?all?title?attributes?on?this?assembly
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute)?false);
????????????????//?If?there?is?at?least?one?title?attribute
????????????????if?(attributes.Length?>?0)
????????????????{
????????????????????//?Select?the?first?one
????????????????????AssemblytitleAttribute?titleAttribute?=?(AssemblytitleAttribute)attributes[0];
????????????????????//?If?it?is?not?an?empty?string?return?it
????????????????????if?(titleAttribute.title?!=?““)
????????????????????????return?titleAttribute.title;
????????????????}
????????????????//?If?there?was?no?title?attribute?or?if?the?title?attribute?was?the?empty?string?return?the?.exe?name
????????????????return?System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
????????????}
????????}

????????public?string?AssemblyVersion
????????{
????????????get
????????????{
????????????????return?Assembly.GetExecutingAssembly().GetName().Version.ToString();
????????????}
????????}

????????public?string?AssemblyDescription
????????{
????????????get
????????????{
????????????????//?Get?all?Description?attributes?on?this?assembly
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute)?false);
????????????????//?If?there?aren‘t?any?Description?attributes?return?an?empty?string
????????????????if?(attributes.Length?==?0)
????????????????????return?““;
????????????????//?If?there?is?a?Description?attribute?return?its?value
????????????????return?((AssemblyDescriptionAttribute)attributes[0]).Description;
????????????}
????????}

????????public?string?AssemblyProduct
????????{
????????????get
????????????{
????????????

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????目錄??????????0??2005-12-06?12:00??simpleIE

?????文件???????4900??2005-12-05?16:32??simpleIE\AboutBox1.cs

?????文件??????10663??2005-12-05?16:32??simpleIE\AboutBox1.Designer.cs

?????文件??????49720??2005-12-05?16:32??simpleIE\AboutBox1.resx

?????目錄??????????0??2005-11-26?14:58??simpleIE\bin

?????目錄??????????0??2005-12-05?16:32??simpleIE\bin\Debug

?????文件??????77824??2005-12-06?10:48??simpleIE\bin\Debug\simpleIE.exe

?????文件??????50688??2005-12-06?10:48??simpleIE\bin\Debug\simpleIE.pdb

?????文件???????5632??2005-09-23?06:56??simpleIE\bin\Debug\simpleIE.vshost.exe

?????目錄??????????0??2005-12-05?16:18??simpleIE\bin\Release

?????文件??????77824??2005-12-05?16:18??simpleIE\bin\Release\simpleIE.exe

?????文件??????42496??2005-12-05?16:18??simpleIE\bin\Release\simpleIE.pdb

?????文件???????5632??2005-09-23?06:56??simpleIE\bin\Release\simpleIE.vshost.exe

?????文件??????15967??2005-12-05?20:01??simpleIE\Form1.cs

?????文件??????20623??2005-12-05?19:04??simpleIE\Form1.Designer.cs

?????文件??????22433??2005-12-05?19:04??simpleIE\Form1.resx

?????目錄??????????0??2005-11-30?00:13??simpleIE\image

?????文件??????49206??2005-11-29?23:42??simpleIE\image\16.bmp

?????文件???????2969??2005-11-30?00:09??simpleIE\image\16.gif

?????文件???????5455??2005-11-30?00:12??simpleIE\image\ie.gif

?????文件???????5455??2005-12-04?18:06??simpleIE\image\ie.ico

?????文件????????595??2005-11-28?18:26??simpleIE\image\print16.gif

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgBack.ico

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgBackDisable.ico

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgForward.ico

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgForwardDisable.ico

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgInfo.ico

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgMarket.ico

?????文件???????1758??2005-11-28?18:22??simpleIE\image\QZoneDlgRefresh.ico

?????文件????????679??2005-11-28?18:45??simpleIE\image\search.gif

............此處省略37個(gè)文件信息

評論

共有 條評論

相關(guān)資源