靜音暫停標籤字樣縮小

This commit is contained in:
jasonchenwork 2025-05-02 14:06:12 +08:00
parent cc14e4ffc5
commit e269c5b54c

View File

@ -262,12 +262,12 @@ namespace OverlayFormObj
this.Controls.Add(displayLabel); this.Controls.Add(displayLabel);
} }
} }
// 播放暫停,字體大小
private void InitializePauseLabel() private void InitializePauseLabel()
{ {
pauseLabel = new Label(); pauseLabel = new Label();
pauseLabel.AutoSize = false; pauseLabel.AutoSize = false;
pauseLabel.Font = new Font("Microsoft JhengHei", 125, FontStyle.Bold); pauseLabel.Font = new Font("Microsoft JhengHei", 75, FontStyle.Bold);
pauseLabel.BackColor = Color.Transparent; pauseLabel.BackColor = Color.Transparent;
pauseLabel.TextAlign = ContentAlignment.MiddleCenter; pauseLabel.TextAlign = ContentAlignment.MiddleCenter;
pauseLabel.Size = new Size(1080, 200); pauseLabel.Size = new Size(1080, 200);
@ -311,13 +311,13 @@ namespace OverlayFormObj
this.Controls.Add(pauseLabel); this.Controls.Add(pauseLabel);
} }
// 播放靜音,字體大小
private void InitializeMuteLabel() private void InitializeMuteLabel()
{ {
muteLabel = new Label(); muteLabel = new Label();
muteLabel.AutoSize = false; muteLabel.AutoSize = false;
muteLabel.Visible = false; muteLabel.Visible = false;
muteLabel.Font = new Font("Microsoft JhengHei", 125, FontStyle.Bold); muteLabel.Font = new Font("Microsoft JhengHei", 75, FontStyle.Bold);
muteLabel.BackColor = Color.Transparent; muteLabel.BackColor = Color.Transparent;
muteLabel.TextAlign = ContentAlignment.MiddleCenter; muteLabel.TextAlign = ContentAlignment.MiddleCenter;
muteLabel.Size = new Size(1080, 200); muteLabel.Size = new Size(1080, 200);