v0.4: persistent config in AppData, voices in LOCALAPPDATA, remove Speak button

This commit is contained in:
2026-08-10 12:32:07 +00:00
parent 9b0dc11ee6
commit fbbb52df90
3 changed files with 113 additions and 20 deletions
+2 -9
View File
@@ -22,7 +22,6 @@ partial class MainForm
private Button btnClearLog = null!;
private Label lblTextInput = null!;
private TextBox txtTextInput = null!;
private Button btnSpeakInput = null!;
private Label lblNoise = null!;
private TrackBar trkNoise = null!;
private Label lblNoiseVal = null!;
@@ -61,7 +60,6 @@ partial class MainForm
btnClearLog = new Button();
lblTextInput = new Label();
txtTextInput = new TextBox();
btnSpeakInput = new Button();
lblNoise = new Label();
trkNoise = new TrackBar();
lblNoiseVal = new Label();
@@ -85,6 +83,7 @@ partial class MainForm
txtPttKey.Size = new Size(80, 23);
txtPttKey.ReadOnly = true;
txtPttKey.TextAlign = HorizontalAlignment.Center;
txtPttKey.TabStop = false;
// lblVoice
lblVoice.Text = "Voice:";
@@ -221,13 +220,8 @@ partial class MainForm
// txtTextInput
txtTextInput.Location = new Point(50, 118);
txtTextInput.Size = new Size(680, 23);
txtTextInput.Size = new Size(762, 23);
// btnSpeakInput
btnSpeakInput.Text = "Speak";
btnSpeakInput.Location = new Point(737, 117);
btnSpeakInput.Size = new Size(75, 25);
btnSpeakInput.UseVisualStyleBackColor = true;
txtLog.ReadOnly = true;
txtLog.Font = new Font("Consolas", 9F);
txtLog.BackColor = Color.FromArgb(30, 30, 30);
@@ -272,7 +266,6 @@ partial class MainForm
Controls.Add(lblNoiseWVal);
Controls.Add(lblTextInput);
Controls.Add(txtTextInput);
Controls.Add(btnSpeakInput);
Controls.Add(txtLog);
Controls.Add(chkMinimizeToTray);
Controls.Add(btnClearLog);