靜音暫停標籤字樣縮小

This commit is contained in:
jasonchenwork 2025-05-02 14:07:21 +08:00
parent ec8044b430
commit bbb89a17ca
2 changed files with 5 additions and 5 deletions

View File

@ -269,12 +269,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);
@ -318,13 +318,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);

View File

@ -14,5 +14,5 @@ Filter: LAV Splitter
Pin: Input Pin: Input
Pin: Video Pin: Video
Pin: Audio Pin: Audio
Filter: \\SVR01\DISK05\522246.mpg Filter: C:\video\welcome.mpg
Pin: Output Pin: Output