-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainForm.Designer.cs
216 lines (209 loc) · 10.4 KB
/
MainForm.Designer.cs
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
namespace Fa镜头视野计算
{
partial class MainForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.TBDistance = new System.Windows.Forms.TextBox();
this.TBField = new System.Windows.Forms.TextBox();
this.comboBoxCameraTargetSurface = new System.Windows.Forms.ComboBox();
this.comboBoxFaLens = new System.Windows.Forms.ComboBox();
this.Lab计算公式说明 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(10, 11);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(89, 18);
this.label1.TabIndex = 0;
this.label1.Text = "相机靶面:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(10, 70);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(80, 18);
this.label2.TabIndex = 1;
this.label2.Text = "Fa 镜头:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(11, 108);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(80, 18);
this.label3.TabIndex = 2;
this.label3.Text = "物 距:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(11, 185);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(71, 18);
this.label4.TabIndex = 3;
this.label4.Text = "视 野:";
//
// TBDistance
//
this.TBDistance.Location = new System.Drawing.Point(115, 105);
this.TBDistance.Name = "TBDistance";
this.TBDistance.Size = new System.Drawing.Size(170, 25);
this.TBDistance.TabIndex = 4;
//
// TBField
//
this.TBField.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.TBField.Location = new System.Drawing.Point(115, 182);
this.TBField.Name = "TBField";
this.TBField.ReadOnly = true;
this.TBField.Size = new System.Drawing.Size(305, 28);
this.TBField.TabIndex = 6;
//
// comboBoxCameraTargetSurface
//
this.comboBoxCameraTargetSurface.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxCameraTargetSurface.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comboBoxCameraTargetSurface.FormattingEnabled = true;
this.comboBoxCameraTargetSurface.Location = new System.Drawing.Point(115, 11);
this.comboBoxCameraTargetSurface.Name = "comboBoxCameraTargetSurface";
this.comboBoxCameraTargetSurface.Size = new System.Drawing.Size(305, 26);
this.comboBoxCameraTargetSurface.TabIndex = 7;
//
// comboBoxFaLens
//
this.comboBoxFaLens.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxFaLens.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comboBoxFaLens.FormattingEnabled = true;
this.comboBoxFaLens.Items.AddRange(new object[] {
"4",
"6",
"8",
"12",
"16",
"25",
"35",
"50",
"75"});
this.comboBoxFaLens.Location = new System.Drawing.Point(115, 65);
this.comboBoxFaLens.Name = "comboBoxFaLens";
this.comboBoxFaLens.Size = new System.Drawing.Size(170, 26);
this.comboBoxFaLens.TabIndex = 8;
//
// Lab计算公式说明
//
this.Lab计算公式说明.AutoSize = true;
this.Lab计算公式说明.Font = new System.Drawing.Font("宋体", 13.2F);
this.Lab计算公式说明.Location = new System.Drawing.Point(9, 228);
this.Lab计算公式说明.Name = "Lab计算公式说明";
this.Lab计算公式说明.Size = new System.Drawing.Size(692, 22);
this.Lab计算公式说明.TabIndex = 9;
this.Lab计算公式说明.Text = "视场(FOV)=工作距离(WD)*CCD靶面型号尺寸(V或者H)/焦距(f)";
//
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(426, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(304, 198);
this.button1.TabIndex = 10;
this.button1.Text = "计算";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// timer1
//
this.timer1.Interval = 5000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.linkLabel1.Location = new System.Drawing.Point(280, 266);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(102, 23);
this.linkLabel1.TabIndex = 11;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "源码下载";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(759, 299);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.button1);
this.Controls.Add(this.Lab计算公式说明);
this.Controls.Add(this.comboBoxFaLens);
this.Controls.Add(this.comboBoxCameraTargetSurface);
this.Controls.Add(this.TBField);
this.Controls.Add(this.TBDistance);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Fa镜头计算视野软件";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox TBDistance;
private System.Windows.Forms.TextBox TBField;
private System.Windows.Forms.ComboBox comboBoxCameraTargetSurface;
private System.Windows.Forms.ComboBox comboBoxFaLens;
private System.Windows.Forms.Label Lab计算公式说明;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.LinkLabel linkLabel1;
}
}