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

📄 otherset.cs

📁 XP界面优化精灵, XP界面优化精灵
💻 CS
📖 第 1 页 / 共 5 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

using System.Runtime.InteropServices;
namespace XP界面优化精灵
{
	/// <summary>
	/// OtherSet 的摘要说明。
	/// </summary>
	public class OtherSet : System.Windows.Forms.Form
	{
		[DllImport("user32.dll", EntryPoint="LoadKeyboardLayout")]		public static extern int LoadKeyboardLayout (			string pwszKLID,			int flags			);
		[DllImport("user32.dll", EntryPoint="GetKeyboardLayoutName")]		public static extern int GetKeyboardLayoutName (			string pwszKLID			);
		public const int KLF_REORDER = 0x8;
		public static int tab=0;
		private System.Windows.Forms.TabPage tp_1;
		private System.Windows.Forms.TabPage tp_4;
		private System.Windows.Forms.TabPage tp_2;
		private System.Windows.Forms.TabPage tp_3;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.PictureBox pictureBox2;
		private System.Windows.Forms.PictureBox pictureBox3;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.PictureBox pictureBox4;
		private System.Windows.Forms.GroupBox groupBox4;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.GroupBox groupBox5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.Button button12;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.Button bn_down;
		private System.Windows.Forms.Button bn_up;
		private System.Windows.Forms.Button bn_apply;
		private System.Windows.Forms.TabControl tabControl;
		private System.Windows.Forms.ListView KeyBList;
		private System.Windows.Forms.ColumnHeader columnHeader1;
		private System.Windows.Forms.CheckBox cb_1;
		private System.Windows.Forms.Button bn_optimize;
		private System.Windows.Forms.CheckBox cb_22;
		private System.Windows.Forms.CheckBox cb_21;
		private System.Windows.Forms.CheckBox cb_23;
		private System.Windows.Forms.CheckBox cb_12;
		private System.Windows.Forms.CheckBox cb_11;
		private System.Windows.Forms.CheckBox cb_10;
		private System.Windows.Forms.CheckBox cb_9;
		private System.Windows.Forms.CheckBox cb_20;
		private System.Windows.Forms.CheckBox cb_19;
		private System.Windows.Forms.CheckBox cb_18;
		private System.Windows.Forms.CheckBox cb_17;
		private System.Windows.Forms.CheckBox cb_16;
		private System.Windows.Forms.CheckBox cb_3;
		private System.Windows.Forms.CheckBox cb_14;
		private System.Windows.Forms.CheckBox cb_13;
		private System.Windows.Forms.CheckBox cb_8;
		private System.Windows.Forms.CheckBox cb_7;
		private System.Windows.Forms.CheckBox cb_6;
		private System.Windows.Forms.CheckBox cb_5;
		private System.Windows.Forms.CheckBox cb_4;
		private System.Windows.Forms.CheckBox cb_15;
		private System.Windows.Forms.CheckBox cb_2;
		private System.Windows.Forms.CheckBox cb_27;
		private System.Windows.Forms.CheckBox cb_26;
		private System.Windows.Forms.CheckBox cb_28;
		private System.Windows.Forms.CheckBox cb_25;
		private System.Windows.Forms.CheckBox cb_24;
		private System.Windows.Forms.CheckBox cb_38;
		private System.Windows.Forms.CheckBox cb_37;
		private System.Windows.Forms.CheckBox cb_36;
		private System.Windows.Forms.CheckBox cb_35;
		private System.Windows.Forms.CheckBox cb_34;
		private System.Windows.Forms.CheckBox cb_42;
		private System.Windows.Forms.CheckBox cb_41;
		private System.Windows.Forms.CheckBox cb_40;
		private System.Windows.Forms.CheckBox cb_39;
		private System.Windows.Forms.CheckBox cb_33;
		private System.Windows.Forms.CheckBox cb_32;
		private System.Windows.Forms.CheckBox cb_31;
		private System.Windows.Forms.CheckBox cb_30;
		private System.Windows.Forms.CheckBox cb_29;
		private System.Windows.Forms.CheckBox cb_43;
		private System.Windows.Forms.Button bn_CRKMenu3;
		private System.Windows.Forms.Button bn_CRKMenu2;
		private System.Windows.Forms.Button bn_CRKMenu1;
		private System.Windows.Forms.Button bn_CRKMenu;
		private System.Windows.Forms.TextBox tb_3;
		private System.Windows.Forms.TextBox tb_2;
		private System.Windows.Forms.TextBox tb_1;
		private System.Windows.Forms.TextBox tb_8;
		private System.Windows.Forms.TextBox tb_7;
		private System.Windows.Forms.TextBox tb_6;
		private System.Windows.Forms.TextBox tb_5;
		private System.Windows.Forms.TextBox tb_4;
		private System.Windows.Forms.Button bn_save;
		private System.Windows.Forms.Button bn_selectpath1;
		private System.Windows.Forms.Button bn_optimize2;
		private System.Windows.Forms.Button bn_save2;
		private System.Windows.Forms.Button bn_cancel;
		private System.Windows.Forms.Button bn_selectpath2;
		private System.Windows.Forms.Button bn_currIL;
		private System.ComponentModel.IContainer components=null;

		public OtherSet()
		{
			//
			// 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(OtherSet));
			this.tabControl = new System.Windows.Forms.TabControl();
			this.tp_1 = new System.Windows.Forms.TabPage();
			this.bn_optimize = new System.Windows.Forms.Button();
			this.label11 = new System.Windows.Forms.Label();
			this.cb_22 = new System.Windows.Forms.CheckBox();
			this.cb_21 = new System.Windows.Forms.CheckBox();
			this.cb_23 = new System.Windows.Forms.CheckBox();
			this.cb_12 = new System.Windows.Forms.CheckBox();
			this.cb_11 = new System.Windows.Forms.CheckBox();
			this.cb_10 = new System.Windows.Forms.CheckBox();
			this.cb_9 = new System.Windows.Forms.CheckBox();
			this.cb_20 = new System.Windows.Forms.CheckBox();
			this.cb_19 = new System.Windows.Forms.CheckBox();
			this.cb_18 = new System.Windows.Forms.CheckBox();
			this.cb_17 = new System.Windows.Forms.CheckBox();
			this.cb_16 = new System.Windows.Forms.CheckBox();
			this.cb_3 = new System.Windows.Forms.CheckBox();
			this.cb_14 = new System.Windows.Forms.CheckBox();
			this.cb_13 = new System.Windows.Forms.CheckBox();
			this.cb_8 = new System.Windows.Forms.CheckBox();
			this.cb_7 = new System.Windows.Forms.CheckBox();
			this.cb_6 = new System.Windows.Forms.CheckBox();
			this.cb_5 = new System.Windows.Forms.CheckBox();
			this.cb_4 = new System.Windows.Forms.CheckBox();
			this.cb_15 = new System.Windows.Forms.CheckBox();
			this.cb_2 = new System.Windows.Forms.CheckBox();
			this.cb_1 = new System.Windows.Forms.CheckBox();
			this.tp_2 = new System.Windows.Forms.TabPage();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.cb_27 = new System.Windows.Forms.CheckBox();
			this.bn_CRKMenu3 = new System.Windows.Forms.Button();
			this.pictureBox3 = new System.Windows.Forms.PictureBox();
			this.cb_26 = new System.Windows.Forms.CheckBox();
			this.cb_28 = new System.Windows.Forms.CheckBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.cb_25 = new System.Windows.Forms.CheckBox();
			this.bn_CRKMenu2 = new System.Windows.Forms.Button();
			this.pictureBox2 = new System.Windows.Forms.PictureBox();
			this.cb_24 = new System.Windows.Forms.CheckBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.cb_43 = new System.Windows.Forms.CheckBox();
			this.bn_CRKMenu1 = new System.Windows.Forms.Button();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.bn_CRKMenu = new System.Windows.Forms.Button();
			this.tp_3 = new System.Windows.Forms.TabPage();
			this.bn_currIL = new System.Windows.Forms.Button();
			this.KeyBList = new System.Windows.Forms.ListView();
			this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
			this.label2 = new System.Windows.Forms.Label();
			this.bn_apply = new System.Windows.Forms.Button();
			this.bn_down = new System.Windows.Forms.Button();
			this.bn_up = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.pictureBox4 = new System.Windows.Forms.PictureBox();
			this.tp_4 = new System.Windows.Forms.TabPage();
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.bn_cancel = new System.Windows.Forms.Button();
			this.bn_save2 = new System.Windows.Forms.Button();
			this.bn_selectpath2 = new System.Windows.Forms.Button();
			this.bn_selectpath1 = new System.Windows.Forms.Button();
			this.tb_8 = new System.Windows.Forms.TextBox();
			this.label10 = new System.Windows.Forms.Label();
			this.tb_7 = new System.Windows.Forms.TextBox();
			this.label9 = new System.Windows.Forms.Label();
			this.tb_6 = new System.Windows.Forms.TextBox();
			this.tb_5 = new System.Windows.Forms.TextBox();
			this.tb_4 = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.label8 = new System.Windows.Forms.Label();
			this.bn_optimize2 = new System.Windows.Forms.Button();
			this.cb_38 = new System.Windows.Forms.CheckBox();
			this.cb_37 = new System.Windows.Forms.CheckBox();
			this.cb_36 = new System.Windows.Forms.CheckBox();
			this.cb_35 = new System.Windows.Forms.CheckBox();
			this.cb_34 = new System.Windows.Forms.CheckBox();
			this.cb_42 = new System.Windows.Forms.CheckBox();
			this.cb_41 = new System.Windows.Forms.CheckBox();
			this.cb_40 = new System.Windows.Forms.CheckBox();
			this.cb_39 = new System.Windows.Forms.CheckBox();
			this.cb_33 = new System.Windows.Forms.CheckBox();
			this.cb_32 = new System.Windows.Forms.CheckBox();
			this.groupBox4 = new System.Windows.Forms.GroupBox();
			this.bn_save = new System.Windows.Forms.Button();
			this.tb_3 = new System.Windows.Forms.TextBox();
			this.tb_2 = new System.Windows.Forms.TextBox();
			this.tb_1 = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.cb_31 = new System.Windows.Forms.CheckBox();
			this.cb_30 = new System.Windows.Forms.CheckBox();
			this.cb_29 = new System.Windows.Forms.CheckBox();
			this.button12 = new System.Windows.Forms.Button();
			this.tabControl.SuspendLayout();
			this.tp_1.SuspendLayout();
			this.tp_2.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.tp_3.SuspendLayout();
			this.tp_4.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.groupBox4.SuspendLayout();
			this.SuspendLayout();
			// 
			// tabControl
			// 
			this.tabControl.Controls.Add(this.tp_1);
			this.tabControl.Controls.Add(this.tp_2);
			this.tabControl.Controls.Add(this.tp_3);
			this.tabControl.Controls.Add(this.tp_4);
			this.tabControl.Location = new System.Drawing.Point(6, 6);
			this.tabControl.Name = "tabControl";
			this.tabControl.SelectedIndex = 0;
			this.tabControl.Size = new System.Drawing.Size(564, 446);
			this.tabControl.TabIndex = 1;
			// 
			// tp_1
			// 
			this.tp_1.BackColor = System.Drawing.Color.White;
			this.tp_1.Controls.Add(this.bn_optimize);
			this.tp_1.Controls.Add(this.label11);
			this.tp_1.Controls.Add(this.cb_22);
			this.tp_1.Controls.Add(this.cb_21);
			this.tp_1.Controls.Add(this.cb_23);
			this.tp_1.Controls.Add(this.cb_12);
			this.tp_1.Controls.Add(this.cb_11);
			this.tp_1.Controls.Add(this.cb_10);
			this.tp_1.Controls.Add(this.cb_9);
			this.tp_1.Controls.Add(this.cb_20);
			this.tp_1.Controls.Add(this.cb_19);
			this.tp_1.Controls.Add(this.cb_18);
			this.tp_1.Controls.Add(this.cb_17);
			this.tp_1.Controls.Add(this.cb_16);
			this.tp_1.Controls.Add(this.cb_3);
			this.tp_1.Controls.Add(this.cb_14);
			this.tp_1.Controls.Add(this.cb_13);
			this.tp_1.Controls.Add(this.cb_8);
			this.tp_1.Controls.Add(this.cb_7);
			this.tp_1.Controls.Add(this.cb_6);
			this.tp_1.Controls.Add(this.cb_5);
			this.tp_1.Controls.Add(this.cb_4);
			this.tp_1.Controls.Add(this.cb_15);
			this.tp_1.Controls.Add(this.cb_2);
			this.tp_1.Controls.Add(this.cb_1);
			this.tp_1.Location = new System.Drawing.Point(4, 21);
			this.tp_1.Name = "tp_1";
			this.tp_1.Size = new System.Drawing.Size(556, 421);
			this.tp_1.TabIndex = 0;
			this.tp_1.Text = "系统性能优化";
			// 
			// bn_optimize
			// 
			this.bn_optimize.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bn_optimize.Location = new System.Drawing.Point(354, 356);
			this.bn_optimize.Name = "bn_optimize";
			this.bn_optimize.Size = new System.Drawing.Size(80, 23);
			this.bn_optimize.TabIndex = 26;
			this.bn_optimize.Text = "优化";
			this.bn_optimize.Click += new System.EventHandler(this.bn_optimize_Click);
			// 
			// label11
			// 
			this.label11.BackColor = System.Drawing.Color.Silver;
			this.label11.Location = new System.Drawing.Point(12, 340);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(532, 1);
			this.label11.TabIndex = 25;
			// 
			// cb_22
			// 
			this.cb_22.BackColor = System.Drawing.Color.Transparent;
			this.cb_22.Location = new System.Drawing.Point(274, 253);
			this.cb_22.Name = "cb_22";
			this.cb_22.Size = new System.Drawing.Size(180, 24);
			this.cb_22.TabIndex = 24;
			this.cb_22.Text = "EXE关联文件修复";
			this.cb_22.CheckedChanged += new System.EventHandler(this.cb_22_CheckedChanged);
			// 
			// cb_21
			// 
			this.cb_21.BackColor = System.Drawing.Color.Transparent;
			this.cb_21.Location = new System.Drawing.Point(274, 226);
			this.cb_21.Name = "cb_21";
			this.cb_21.Size = new System.Drawing.Size(236, 24);
			this.cb_21.TabIndex = 23;

⌨️ 快捷键说明

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