From 2b6a4a5c752e1246bba20193fa4711c534ebb8a4 Mon Sep 17 00:00:00 2001 From: mbrucedogs Date: Thu, 24 Jul 2025 13:13:31 -0500 Subject: [PATCH] updated view Signed-off-by: mbrucedogs --- KaraokePlayer/SongInfoForm.Designer.cs | 109 +++++++++++++++++++++---- 1 file changed, 92 insertions(+), 17 deletions(-) diff --git a/KaraokePlayer/SongInfoForm.Designer.cs b/KaraokePlayer/SongInfoForm.Designer.cs index a10a1ea..e9a81f6 100644 --- a/KaraokePlayer/SongInfoForm.Designer.cs +++ b/KaraokePlayer/SongInfoForm.Designer.cs @@ -28,38 +28,113 @@ /// private void InitializeComponent() { - this.previewLabel = new System.Windows.Forms.Label(); + this.mainPanel = new System.Windows.Forms.Panel(); + this.songTitleLabel = new System.Windows.Forms.Label(); + this.artistLabel = new System.Windows.Forms.Label(); + this.singerLabel = new System.Windows.Forms.Label(); + this.upNextLabel = new System.Windows.Forms.Label(); + this.mainPanel.SuspendLayout(); this.SuspendLayout(); // - // previewLabel + // mainPanel // - this.previewLabel.Dock = System.Windows.Forms.DockStyle.Fill; - this.previewLabel.Font = new System.Drawing.Font("Century Gothic", 60F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.previewLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight; - this.previewLabel.Location = new System.Drawing.Point(0, 0); - this.previewLabel.Margin = new System.Windows.Forms.Padding(3, 100, 3, 0); - this.previewLabel.Name = "previewLabel"; - this.previewLabel.Padding = new System.Windows.Forms.Padding(0, 100, 0, 0); - this.previewLabel.Size = new System.Drawing.Size(1008, 729); - this.previewLabel.TabIndex = 0; - this.previewLabel.Text = "This is the first line\r\n\r\nAnd this is the second line."; - this.previewLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.mainPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15))))); + this.mainPanel.Controls.Add(this.songTitleLabel); + this.mainPanel.Controls.Add(this.artistLabel); + this.mainPanel.Controls.Add(this.singerLabel); + this.mainPanel.Controls.Add(this.upNextLabel); + this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.mainPanel.Location = new System.Drawing.Point(0, 0); + this.mainPanel.Name = "mainPanel"; + this.mainPanel.Size = new System.Drawing.Size(1200, 800); + this.mainPanel.TabIndex = 0; + // + // songTitleLabel + // + this.songTitleLabel.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.songTitleLabel.BackColor = System.Drawing.Color.Transparent; + this.songTitleLabel.Font = new System.Drawing.Font("Segoe UI", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.songTitleLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); + this.songTitleLabel.Location = new System.Drawing.Point(50, 450); + this.songTitleLabel.Name = "songTitleLabel"; + this.songTitleLabel.Size = new System.Drawing.Size(1100, 200); + this.songTitleLabel.TabIndex = 3; + this.songTitleLabel.Text = "Song Title"; + this.songTitleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.songTitleLabel.UseCompatibleTextRendering = true; + // + // artistLabel + // + this.artistLabel.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.artistLabel.BackColor = System.Drawing.Color.Transparent; + this.artistLabel.Font = new System.Drawing.Font("Segoe UI", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.artistLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); + this.artistLabel.Location = new System.Drawing.Point(50, 350); + this.artistLabel.Name = "artistLabel"; + this.artistLabel.Size = new System.Drawing.Size(1100, 80); + this.artistLabel.TabIndex = 2; + this.artistLabel.Text = "Artist Name"; + this.artistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.artistLabel.UseCompatibleTextRendering = true; + // + // singerLabel + // + this.singerLabel.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.singerLabel.BackColor = System.Drawing.Color.Transparent; + this.singerLabel.Font = new System.Drawing.Font("Segoe UI", 42F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.singerLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.singerLabel.Location = new System.Drawing.Point(50, 200); + this.singerLabel.Name = "singerLabel"; + this.singerLabel.Size = new System.Drawing.Size(1100, 120); + this.singerLabel.TabIndex = 1; + this.singerLabel.Text = "Singer Name"; + this.singerLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.singerLabel.UseCompatibleTextRendering = true; + // + // upNextLabel + // + this.upNextLabel.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.upNextLabel.BackColor = System.Drawing.Color.Transparent; + this.upNextLabel.Font = new System.Drawing.Font("Segoe UI", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.upNextLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.upNextLabel.Location = new System.Drawing.Point(50, 100); + this.upNextLabel.Name = "upNextLabel"; + this.upNextLabel.Size = new System.Drawing.Size(1100, 60); + this.upNextLabel.TabIndex = 0; + this.upNextLabel.Text = "UP NEXT"; + this.upNextLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.upNextLabel.UseCompatibleTextRendering = true; // // SongInfoForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Black; - this.ClientSize = new System.Drawing.Size(1008, 729); - this.Controls.Add(this.previewLabel); + this.ClientSize = new System.Drawing.Size(1200, 800); + this.Controls.Add(this.mainPanel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Name = "SongInfoForm"; - this.Text = "SongInfoForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Karaoke - Up Next"; + this.mainPanel.ResumeLayout(false); this.ResumeLayout(false); } #endregion - private System.Windows.Forms.Label previewLabel; + private System.Windows.Forms.Panel mainPanel; + private System.Windows.Forms.Label upNextLabel; + private System.Windows.Forms.Label singerLabel; + private System.Windows.Forms.Label artistLabel; + private System.Windows.Forms.Label songTitleLabel; } } \ No newline at end of file