-
Notifications
You must be signed in to change notification settings - Fork 44
/
MainForm.Designer.cs
231 lines (225 loc) · 11.2 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
namespace SubtitleEdit
{
partial class MainForm
{
/// <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()
{
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.buttonOk = new System.Windows.Forms.Button();
this.buttonCancel = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.comboBoxLanguageFrom = new System.Windows.Forms.ComboBox();
this.buttonTranslate = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.buttonCancelTranslate = new System.Windows.Forms.Button();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.comboBoxLanguageTo = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// listView1
//
this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2,
this.columnHeader3});
this.listView1.FullRowSelect = true;
this.listView1.GridLines = true;
this.listView1.HideSelection = false;
this.listView1.Location = new System.Drawing.Point(15, 53);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(804, 467);
this.listView1.TabIndex = 0;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
this.listView1.Resize += new System.EventHandler(this.listView1_Resize);
//
// columnHeader1
//
this.columnHeader1.Text = "Line #";
this.columnHeader1.Width = 48;
//
// columnHeader2
//
this.columnHeader2.Text = "Original";
this.columnHeader2.Width = 303;
//
// columnHeader3
//
this.columnHeader3.Text = "Translation";
this.columnHeader3.Width = 335;
//
// buttonOk
//
this.buttonOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOk.Location = new System.Drawing.Point(663, 526);
this.buttonOk.Name = "buttonOk";
this.buttonOk.Size = new System.Drawing.Size(75, 23);
this.buttonOk.TabIndex = 7;
this.buttonOk.Text = "OK";
this.buttonOk.UseVisualStyleBackColor = true;
this.buttonOk.Click += new System.EventHandler(this.buttonOk_Click);
//
// buttonCancel
//
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.Location = new System.Drawing.Point(744, 526);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 8;
this.buttonCancel.Text = "Cancel";
this.buttonCancel.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(129, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Translation language pair:";
//
// linkLabel1
//
this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(9, 536);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(98, 13);
this.linkLabel1.TabIndex = 6;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "Powered by DeepL";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// comboBoxLanguageFrom
//
this.comboBoxLanguageFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxLanguageFrom.FormattingEnabled = true;
this.comboBoxLanguageFrom.Location = new System.Drawing.Point(147, 12);
this.comboBoxLanguageFrom.Name = "comboBoxLanguageFrom";
this.comboBoxLanguageFrom.Size = new System.Drawing.Size(112, 21);
this.comboBoxLanguageFrom.TabIndex = 1;
//
// buttonTranslate
//
this.buttonTranslate.Location = new System.Drawing.Point(383, 10);
this.buttonTranslate.Name = "buttonTranslate";
this.buttonTranslate.Size = new System.Drawing.Size(113, 23);
this.buttonTranslate.TabIndex = 2;
this.buttonTranslate.Text = "Translate";
this.buttonTranslate.UseVisualStyleBackColor = true;
this.buttonTranslate.Click += new System.EventHandler(this.buttonTranslate_Click);
//
// textBox1
//
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox1.Location = new System.Drawing.Point(15, 53);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox1.Size = new System.Drawing.Size(804, 467);
this.textBox1.TabIndex = 5;
//
// buttonCancelTranslate
//
this.buttonCancelTranslate.Location = new System.Drawing.Point(502, 10);
this.buttonCancelTranslate.Name = "buttonCancelTranslate";
this.buttonCancelTranslate.Size = new System.Drawing.Size(99, 23);
this.buttonCancelTranslate.TabIndex = 3;
this.buttonCancelTranslate.Text = "Cancel";
this.buttonCancelTranslate.UseVisualStyleBackColor = true;
this.buttonCancelTranslate.Click += new System.EventHandler(this.buttonCancelTranslate_Click);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(607, 11);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(212, 23);
this.progressBar1.TabIndex = 4;
this.progressBar1.Visible = false;
//
// comboBoxLanguageTo
//
this.comboBoxLanguageTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxLanguageTo.FormattingEnabled = true;
this.comboBoxLanguageTo.Location = new System.Drawing.Point(265, 11);
this.comboBoxLanguageTo.Name = "comboBoxLanguageTo";
this.comboBoxLanguageTo.Size = new System.Drawing.Size(112, 21);
this.comboBoxLanguageTo.TabIndex = 10;
//
// MainForm
//
this.AcceptButton = this.buttonOk;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(831, 557);
this.Controls.Add(this.comboBoxLanguageTo);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.buttonCancelTranslate);
this.Controls.Add(this.buttonTranslate);
this.Controls.Add(this.comboBoxLanguageFrom);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.label1);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonOk);
this.Controls.Add(this.listView1);
this.Controls.Add(this.textBox1);
this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(733, 478);
this.Name = "MainForm";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "MainForm";
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyDown);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.Button buttonOk;
private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.ComboBox comboBoxLanguageFrom;
private System.Windows.Forms.Button buttonTranslate;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button buttonCancelTranslate;
private System.Windows.Forms.ProgressBar progressBar1;
private System.Windows.Forms.ComboBox comboBoxLanguageTo;
}
}