-
Notifications
You must be signed in to change notification settings - Fork 1
/
Form1.Designer.cs
301 lines (294 loc) · 13 KB
/
Form1.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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
namespace PDFtoJPG
{
partial class Form1
{
/// <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(Form1));
this.txtPDF = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.txtJPG = new System.Windows.Forms.TextBox();
this.button3 = new System.Windows.Forms.Button();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.label3 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.StartPage = new System.Windows.Forms.TextBox();
this.EndPage = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// txtPDF
//
this.txtPDF.Location = new System.Drawing.Point(95, 7);
this.txtPDF.Name = "txtPDF";
this.txtPDF.Size = new System.Drawing.Size(150, 21);
this.txtPDF.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(8, 11);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(77, 12);
this.label1.TabIndex = 1;
this.label1.Text = "PDF文件路径:";
//
// button1
//
this.button1.Location = new System.Drawing.Point(241, 6);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(35, 23);
this.button1.TabIndex = 1;
this.button1.Text = "...";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(241, 35);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(35, 23);
this.button2.TabIndex = 3;
this.button2.Text = "...";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(8, 40);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(77, 12);
this.label2.TabIndex = 4;
this.label2.Text = "JPG保存路径:";
//
// txtJPG
//
this.txtJPG.Location = new System.Drawing.Point(95, 36);
this.txtJPG.Name = "txtJPG";
this.txtJPG.ReadOnly = true;
this.txtJPG.Size = new System.Drawing.Size(150, 21);
this.txtJPG.TabIndex = 2;
//
// button3
//
this.button3.Location = new System.Drawing.Point(139, 92);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(65, 23);
this.button3.TabIndex = 7;
this.button3.Text = "开始转换";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Items.AddRange(new object[] {
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"});
this.comboBox1.Location = new System.Drawing.Point(95, 93);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(38, 20);
this.comboBox1.TabIndex = 6;
this.comboBox1.Text = "1";
this.comboBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox1_KeyPress);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(8, 97);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(83, 12);
this.label4.TabIndex = 10;
this.label4.Text = "图片缩放倍率:";
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(94, 121);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(182, 14);
this.progressBar1.TabIndex = 11;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(8, 121);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 12);
this.label3.TabIndex = 12;
this.label3.Text = "转换进度:";
//
// button4
//
this.button4.Location = new System.Drawing.Point(211, 92);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(65, 23);
this.button4.TabIndex = 8;
this.button4.Text = "打开目录";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(8, 69);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(59, 12);
this.label5.TabIndex = 14;
this.label5.Text = "指定页码:";
//
// StartPage
//
this.StartPage.Location = new System.Drawing.Point(94, 65);
this.StartPage.Name = "StartPage";
this.StartPage.ReadOnly = true;
this.StartPage.Size = new System.Drawing.Size(67, 21);
this.StartPage.TabIndex = 4;
this.StartPage.Text = "1";
this.StartPage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.StartPage_KeyPress);
this.StartPage.Leave += new System.EventHandler(this.StartPage_Leave);
//
// EndPage
//
this.EndPage.Location = new System.Drawing.Point(209, 65);
this.EndPage.Name = "EndPage";
this.EndPage.ReadOnly = true;
this.EndPage.Size = new System.Drawing.Size(67, 21);
this.EndPage.TabIndex = 5;
this.EndPage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EndPage_KeyPress);
this.EndPage.Leave += new System.EventHandler(this.EndPage_Leave);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(169, 69);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(29, 12);
this.label6.TabIndex = 17;
this.label6.Text = "——";
//
// dataGridView1
//
this.dataGridView1.AllowUserToResizeColumns = false;
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.ColumnHeadersVisible = false;
this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1;
this.dataGridView1.Location = new System.Drawing.Point(282, 5);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(266, 130);
this.dataGridView1.TabIndex = 18;
this.dataGridView1.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseClick);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
//
// Form1
//
this.AllowDrop = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(281, 141);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.label6);
this.Controls.Add(this.EndPage);
this.Controls.Add(this.StartPage);
this.Controls.Add(this.label5);
this.Controls.Add(this.button4);
this.Controls.Add(this.label3);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label4);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.label2);
this.Controls.Add(this.txtJPG);
this.Controls.Add(this.button1);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtPDF);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(297, 180);
this.MinimumSize = new System.Drawing.Size(297, 180);
this.Name = "Form1";
this.Text = "PDF转JPG";
this.TopMost = true;
this.Load += new System.EventHandler(this.Form1_Load);
this.DragDrop += new System.Windows.Forms.DragEventHandler(this.Form1_DragDrop);
this.DragOver += new System.Windows.Forms.DragEventHandler(this.Form1_DragOver);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtPDF;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtJPG;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ProgressBar progressBar1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox StartPage;
private System.Windows.Forms.TextBox EndPage;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
}
}