⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 personie.cs

📁 一个用vs2003编写的客户工资管理系统客户端程序/一个用vs2003编写的客户工资管理系统客户端程序
💻 CS
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;

using GzglClient.Froms;
using GzglClient.BLL;
using Jinrm.FileSystem;
using Jinrm.Data;

namespace GzglClient.Views
{
	/// <summary>
	/// PersonIE 的摘要说明。
	/// </summary>
	public class PersonIE : System.Windows.Forms.UserControl , IView
	{
		private AxSHDocVw.AxWebBrowser axWebBrowser1;
		/// <summary> 
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public PersonIE()
		{
			// 该调用是 Windows.Forms 窗体设计器所必需的。
			InitializeComponent();

			// TODO: 在 InitializeComponent 调用后添加任何初始化

		}

		/// <summary> 
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		/// <summary>
		/// 跳转Url
		/// </summary>
		/// <param name="Url"></param>
		/// <param name="YWItemType"></param>
		public void GoUrl(string Url,string YWItemType)
		{
			string _Url = "";
			if(AllStr.IsDebug)
			{
				_Url = "http://localhost:8055/Gzgl/NetOffice/Person/WorkArea.aspx?RegUserKey=" + AllStr.Key;
			}
			else
			{
				_Url = AllStr.NetOfficeUrl + "Person/WorkArea.aspx?RegUserKey=" + AllStr.Key;
			}

			object o = null;
			axWebBrowser1.Navigate(_Url, ref o, ref o, ref o, ref o);
		}

		#region IView 成员
		public void Release()
		{
			Dispose();
		}

		public ViewType TheType
		{
			get {return ViewType.PersonIE;}
		}
		#endregion

		#region 组件设计器生成的代码
		/// <summary> 
		/// 设计器支持所需的方法 - 不要使用代码编辑器 
		/// 修改此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PersonIE));
			this.axWebBrowser1 = new AxSHDocVw.AxWebBrowser();
			((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).BeginInit();
			this.SuspendLayout();
			// 
			// axWebBrowser1
			// 
			this.axWebBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.axWebBrowser1.Enabled = true;
			this.axWebBrowser1.Location = new System.Drawing.Point(0, 0);
			this.axWebBrowser1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWebBrowser1.OcxState")));
			this.axWebBrowser1.Size = new System.Drawing.Size(600, 368);
			this.axWebBrowser1.TabIndex = 9;
			// 
			// PersonIE
			// 
			this.Controls.Add(this.axWebBrowser1);
			this.Name = "PersonIE";
			this.Size = new System.Drawing.Size(600, 368);
			((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -