📄 customicon.cs
字号:
this.DesktopIcon.TransparentColor = System.Drawing.Color.Transparent;
//
// tp_2
//
this.tp_2.BackColor = System.Drawing.Color.White;
this.tp_2.Controls.Add(this.SystemIconList);
this.tp_2.Controls.Add(this.label4);
this.tp_2.Location = new System.Drawing.Point(4, 21);
this.tp_2.Name = "tp_2";
this.tp_2.Size = new System.Drawing.Size(488, 349);
this.tp_2.TabIndex = 5;
this.tp_2.Text = "系统图标";
//
// SystemIconList
//
this.SystemIconList.BackColor = System.Drawing.Color.White;
this.SystemIconList.ContextMenu = this.contextMenu;
listViewItem15.StateImageIndex = 0;
listViewItem16.StateImageIndex = 0;
listViewItem17.StateImageIndex = 0;
listViewItem19.StateImageIndex = 0;
listViewItem20.StateImageIndex = 0;
listViewItem21.StateImageIndex = 0;
listViewItem22.StateImageIndex = 0;
listViewItem22.UseItemStyleForSubItems = false;
this.SystemIconList.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
listViewItem15,
listViewItem16,
listViewItem17,
listViewItem18,
listViewItem19,
listViewItem20,
listViewItem21,
listViewItem22,
listViewItem23,
listViewItem24,
listViewItem25,
listViewItem26,
listViewItem27,
listViewItem28});
this.SystemIconList.LargeImageList = this.SystemIcon;
this.SystemIconList.Location = new System.Drawing.Point(10, 32);
this.SystemIconList.MultiSelect = false;
this.SystemIconList.Name = "SystemIconList";
this.SystemIconList.Size = new System.Drawing.Size(468, 306);
this.SystemIconList.TabIndex = 2;
//
// SystemIcon
//
this.SystemIcon.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
this.SystemIcon.ImageSize = new System.Drawing.Size(32, 32);
this.SystemIcon.TransparentColor = System.Drawing.Color.Transparent;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(14, 10);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(276, 17);
this.label4.TabIndex = 3;
this.label4.Text = "在相应的图标上双击可更改图标,点右键可以还原";
//
// tp_3
//
this.tp_3.BackColor = System.Drawing.Color.White;
this.tp_3.Controls.Add(this.label6);
this.tp_3.Controls.Add(this.groupBox5);
this.tp_3.Controls.Add(this.FileIconList);
this.tp_3.Location = new System.Drawing.Point(4, 21);
this.tp_3.Name = "tp_3";
this.tp_3.Size = new System.Drawing.Size(488, 349);
this.tp_3.TabIndex = 4;
this.tp_3.Text = "文件图标";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(14, 10);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(276, 17);
this.label6.TabIndex = 5;
this.label6.Text = "在相应的图标上双击可更改图标,点右键可以还原";
//
// groupBox5
//
this.groupBox5.Controls.Add(this.pb_show);
this.groupBox5.Controls.Add(this.bn_changeIcon);
this.groupBox5.Controls.Add(this.tb_FileName);
this.groupBox5.Controls.Add(this.label1);
this.groupBox5.Location = new System.Drawing.Point(12, 284);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(464, 56);
this.groupBox5.TabIndex = 4;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "更改注册过的任意文件类型图标";
//
// pb_show
//
this.pb_show.Location = new System.Drawing.Point(404, 14);
this.pb_show.Name = "pb_show";
this.pb_show.Size = new System.Drawing.Size(42, 34);
this.pb_show.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pb_show.TabIndex = 3;
this.pb_show.TabStop = false;
//
// bn_changeIcon
//
this.bn_changeIcon.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.bn_changeIcon.Location = new System.Drawing.Point(276, 20);
this.bn_changeIcon.Name = "bn_changeIcon";
this.bn_changeIcon.TabIndex = 2;
this.bn_changeIcon.Text = "更改图标";
this.bn_changeIcon.Click += new System.EventHandler(this.bn_changeIcon_Click);
//
// tb_FileName
//
this.tb_FileName.Location = new System.Drawing.Point(160, 22);
this.tb_FileName.Name = "tb_FileName";
this.tb_FileName.Size = new System.Drawing.Size(108, 21);
this.tb_FileName.TabIndex = 1;
this.tb_FileName.Text = "";
this.tb_FileName.TextChanged += new System.EventHandler(this.tb_FileName_TextChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(10, 26);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(166, 23);
this.label1.TabIndex = 0;
this.label1.Text = "输入文件的扩展名(如mp3)";
//
// FileIconList
//
this.FileIconList.BackColor = System.Drawing.Color.White;
this.FileIconList.ContextMenu = this.contextMenu;
listViewItem29.StateImageIndex = 0;
listViewItem30.StateImageIndex = 0;
listViewItem31.StateImageIndex = 0;
listViewItem32.StateImageIndex = 0;
listViewItem33.StateImageIndex = 0;
listViewItem34.StateImageIndex = 0;
listViewItem35.StateImageIndex = 0;
listViewItem35.UseItemStyleForSubItems = false;
this.FileIconList.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
listViewItem29,
listViewItem30,
listViewItem31,
listViewItem32,
listViewItem33,
listViewItem34,
listViewItem35,
listViewItem36,
listViewItem37,
listViewItem38,
listViewItem39,
listViewItem40,
listViewItem41,
listViewItem42,
listViewItem43});
this.FileIconList.LargeImageList = this.FileIcon;
this.FileIconList.Location = new System.Drawing.Point(10, 32);
this.FileIconList.MultiSelect = false;
this.FileIconList.Name = "FileIconList";
this.FileIconList.Size = new System.Drawing.Size(468, 238);
this.FileIconList.TabIndex = 3;
//
// FileIcon
//
this.FileIcon.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
this.FileIcon.ImageSize = new System.Drawing.Size(32, 32);
this.FileIcon.TransparentColor = System.Drawing.Color.Transparent;
//
// tp_4
//
this.tp_4.BackColor = System.Drawing.Color.White;
this.tp_4.Controls.Add(this.groupBox7);
this.tp_4.Controls.Add(this.label2);
this.tp_4.Controls.Add(this.groupBox3);
this.tp_4.Controls.Add(this.groupBox2);
this.tp_4.Location = new System.Drawing.Point(4, 21);
this.tp_4.Name = "tp_4";
this.tp_4.Size = new System.Drawing.Size(488, 349);
this.tp_4.TabIndex = 6;
this.tp_4.Text = "其它设置";
//
// groupBox7
//
this.groupBox7.Controls.Add(this.pictureBox3);
this.groupBox7.Controls.Add(this.label3);
this.groupBox7.Location = new System.Drawing.Point(16, 84);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(454, 242);
this.groupBox7.TabIndex = 10;
this.groupBox7.TabStop = false;
//
// pictureBox3
//
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(8, 54);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(210, 140);
this.pictureBox3.TabIndex = 12;
this.pictureBox3.TabStop = false;
//
// label3
//
this.label3.ForeColor = System.Drawing.Color.Black;
this.label3.Location = new System.Drawing.Point(222, 84);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(222, 50);
this.label3.TabIndex = 11;
this.label3.Text = "图标更改做的不够全面,如果哪们高手知道一些修成图标的技巧,请告诉小弟我,小弟万分感谢。";
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Silver;
this.label2.Location = new System.Drawing.Point(16, 80);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(454, 2);
this.label2.TabIndex = 9;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.button2);
this.groupBox3.Controls.Add(this.pictureBox1);
this.groupBox3.Controls.Add(this.textBox1);
this.groupBox3.Location = new System.Drawing.Point(14, 12);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(286, 58);
this.groupBox3.TabIndex = 6;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "回收站重命名";
//
// button2
//
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.button2.Location = new System.Drawing.Point(214, 22);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(60, 22);
this.button2.TabIndex = 9;
this.button2.Text = "确定";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(16, 10);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(54, 44);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 8;
this.pictureBox1.TabStop = false;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(82, 24);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(128, 21);
this.textBox1.TabIndex = 7;
this.textBox1.Text = "";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.checkBox1);
this.groupBox2.Location = new System.Drawing.Point(306, 12);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(166, 58);
this.groupBox2.TabIndex = 5;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -