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

📄 browserform.cs

📁 XP界面优化精灵, XP界面优化精灵
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace XP界面优化精灵
{
	/// <summary>
	/// BrowerForm 的摘要说明。
	/// </summary>
	public class BrowserForm : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button bn_back;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public BrowserForm()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

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

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BrowserForm));
			this.bn_back = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// bn_back
			// 
			this.bn_back.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
			this.bn_back.Dock = System.Windows.Forms.DockStyle.Fill;
			this.bn_back.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.bn_back.Image = ((System.Drawing.Image)(resources.GetObject("bn_back.Image")));
			this.bn_back.Location = new System.Drawing.Point(0, 0);
			this.bn_back.Name = "bn_back";
			this.bn_back.Size = new System.Drawing.Size(1028, 96);
			this.bn_back.TabIndex = 0;
			// 
			// BrowserForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(1028, 96);
			this.ControlBox = false;
			this.Controls.Add(this.bn_back);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximumSize = new System.Drawing.Size(1036, 130);
			this.MinimizeBox = false;
			this.MinimumSize = new System.Drawing.Size(1036, 130);
			this.Name = "BrowserForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds;
			this.Text = "预览窗";
			this.TopMost = true;
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.Load += new System.EventHandler(this.BrowserForm_Load);
			this.ResumeLayout(false);

		}
		#endregion

		public void ChangeBackG(string path)
		{
			this.bn_back.BackgroundImage =Image.FromFile (path);
		}

		private void BrowserForm_Load(object sender, System.EventArgs e)
		{
			this.TopMost =action.isTopMost ;
		}
	}
}

⌨️ 快捷键说明

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