-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForm1.Designer.cs
159 lines (153 loc) · 5.97 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
using System.Resources;
namespace TTSPlay.HT
{
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()
{
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
btnSettings = new Button();
txtContent = new TextBox();
btnSpeak = new Button();
label1 = new Label();
cmbVoices = new ComboBox();
notifyIcon1 = new NotifyIcon(components);
contextMenuStrip1 = new ContextMenuStrip(components);
openToolStripMenuItem = new ToolStripMenuItem();
exitToolStripMenuItem = new ToolStripMenuItem();
contextMenuStrip1.SuspendLayout();
SuspendLayout();
//
// btnSettings
//
btnSettings.Location = new Point(6, 5);
btnSettings.Margin = new Padding(2, 1, 2, 1);
btnSettings.Name = "btnSettings";
btnSettings.Size = new Size(65, 23);
btnSettings.TabIndex = 0;
btnSettings.Text = "Settings";
btnSettings.UseVisualStyleBackColor = true;
btnSettings.Click += btnSettings_Click;
//
// txtContent
//
txtContent.Location = new Point(6, 31);
txtContent.Margin = new Padding(2, 1, 2, 1);
txtContent.Multiline = true;
txtContent.Name = "txtContent";
txtContent.PlaceholderText = "Type your text and press enter or click Speak";
txtContent.Size = new Size(420, 180);
txtContent.TabIndex = 2;
//
// btnSpeak
//
btnSpeak.Location = new Point(345, 213);
btnSpeak.Margin = new Padding(2, 1, 2, 1);
btnSpeak.Name = "btnSpeak";
btnSpeak.Size = new Size(81, 22);
btnSpeak.TabIndex = 3;
btnSpeak.Text = "Speak";
btnSpeak.UseVisualStyleBackColor = true;
btnSpeak.Click += btnSpeak_Click;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(75, 8);
label1.Margin = new Padding(2, 0, 2, 0);
label1.Name = "label1";
label1.Size = new Size(38, 15);
label1.TabIndex = 4;
label1.Text = "Voice:";
//
// cmbVoices
//
cmbVoices.FormattingEnabled = true;
cmbVoices.Location = new Point(119, 6);
cmbVoices.Margin = new Padding(2, 1, 2, 1);
cmbVoices.Name = "cmbVoices";
cmbVoices.Size = new Size(307, 23);
cmbVoices.TabIndex = 1;
//
// notifyIcon1
//
notifyIcon1.ContextMenuStrip = contextMenuStrip1;
notifyIcon1.Icon = (Icon)resources.GetObject("notifyIcon1.Icon");
notifyIcon1.Text = "Play.HT Speech";
notifyIcon1.Visible = true;
notifyIcon1.MouseDoubleClick += notifyIcon1_MouseDoubleClick;
//
// contextMenuStrip1
//
contextMenuStrip1.ImageScalingSize = new Size(32, 32);
contextMenuStrip1.Items.AddRange(new ToolStripItem[] { openToolStripMenuItem, exitToolStripMenuItem });
contextMenuStrip1.Name = "contextMenuStrip1";
contextMenuStrip1.Size = new Size(104, 48);
//
// openToolStripMenuItem
//
openToolStripMenuItem.Name = "openToolStripMenuItem";
openToolStripMenuItem.Size = new Size(103, 22);
openToolStripMenuItem.Text = "Open";
openToolStripMenuItem.Click += openToolStripMenuItem_Click;
//
// exitToolStripMenuItem
//
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
exitToolStripMenuItem.Size = new Size(103, 22);
exitToolStripMenuItem.Text = "Exit";
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(431, 235);
Controls.Add(cmbVoices);
Controls.Add(label1);
Controls.Add(btnSpeak);
Controls.Add(txtContent);
Controls.Add(btnSettings);
Icon = (Icon)resources.GetObject("$this.Icon");
Margin = new Padding(2, 1, 2, 1);
Name = "Form1";
Text = "Play.HT Speech";
Load += Form1_Load;
contextMenuStrip1.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
#endregion
private Button btnSettings;
private TextBox txtContent;
private Button btnSpeak;
private Label label1;
private ComboBox cmbVoices;
private NotifyIcon notifyIcon1;
private ContextMenuStrip contextMenuStrip1;
private ToolStripMenuItem openToolStripMenuItem;
private ToolStripMenuItem exitToolStripMenuItem;
}
}