-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathForm1.Designer.cs
More file actions
99 lines (94 loc) · 3.2 KB
/
Form1.Designer.cs
File metadata and controls
99 lines (94 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
namespace DesktopListViewModifier
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
button1 = new Button();
button2 = new Button();
button3 = new Button();
button4 = new Button();
SuspendLayout();
//
// button1
//
button1.Location = new Point(76, 93);
button1.Name = "button1";
button1.Size = new Size(150, 30);
button1.TabIndex = 0;
button1.Text = "设置为详细信息视图";
button1.UseVisualStyleBackColor = true;
button1.Click += button1_Click;
//
// button2
//
button2.Location = new Point(76, 129);
button2.Name = "button2";
button2.Size = new Size(150, 30);
button2.TabIndex = 1;
button2.Text = "恢复大图标视图";
button2.UseVisualStyleBackColor = true;
button2.Click += button2_Click;
//
// button3
//
button3.Location = new Point(76, 165);
button3.Name = "button3";
button3.Size = new Size(150, 30);
button3.TabIndex = 2;
button3.Text = "设置文字为白色(黑背景)";
button3.UseVisualStyleBackColor = true;
button3.Click += button3_Click;
//
// button4
//
button4.Location = new Point(76, 201);
button4.Name = "button4";
button4.Size = new Size(150, 30);
button4.TabIndex = 3;
button4.Text = "设置文字为黑色(浅色背景)";
button4.UseVisualStyleBackColor = true;
button4.Click += button4_Click;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(308, 270);
Controls.Add(button1);
Controls.Add(button2);
Controls.Add(button3);
Controls.Add(button4);
Name = "Form1";
Text = "Form1";
Load += Form1_Load;
ResumeLayout(false);
}
#endregion
private Button button1;
private Button button2;
private Button button3;
private Button button4;
}
}