From 04db2e5b121c486d08e2600fcc9aae1b919b1eea Mon Sep 17 00:00:00 2001 From: minster586 <43217359+minster586@users.noreply.github.com> Date: Sat, 16 Aug 2025 00:24:52 -0400 Subject: [PATCH] Added Menu bars --- RadioDJViewer/Main.Designer.cs | 72 ++++++++++++++++++++++++++++++++++ RadioDJViewer/Main.resx | 6 +++ 2 files changed, 78 insertions(+) diff --git a/RadioDJViewer/Main.Designer.cs b/RadioDJViewer/Main.Designer.cs index f79d740..114e1ad 100644 --- a/RadioDJViewer/Main.Designer.cs +++ b/RadioDJViewer/Main.Designer.cs @@ -33,7 +33,15 @@ this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.menuStrip2 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.restAPISettingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.profileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1.SuspendLayout(); + this.menuStrip2.SuspendLayout(); this.SuspendLayout(); // // statusStrip1 @@ -69,16 +77,73 @@ this.toolStripStatusLabel3.Text = "Song Changed Updateing"; this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // + // menuStrip1 + // + this.menuStrip1.Location = new System.Drawing.Point(0, 24); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(591, 24); + this.menuStrip1.TabIndex = 1; + this.menuStrip1.Text = "menuStrip1"; + // + // menuStrip2 + // + this.menuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.aboutToolStripMenuItem}); + this.menuStrip2.Location = new System.Drawing.Point(0, 0); + this.menuStrip2.Name = "menuStrip2"; + this.menuStrip2.Size = new System.Drawing.Size(591, 24); + this.menuStrip2.TabIndex = 2; + this.menuStrip2.Text = "menuStrip2"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.restAPISettingToolStripMenuItem, + this.profileToolStripMenuItem, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // restAPISettingToolStripMenuItem + // + this.restAPISettingToolStripMenuItem.Name = "restAPISettingToolStripMenuItem"; + this.restAPISettingToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.restAPISettingToolStripMenuItem.Text = "Rest API Setting"; + // + // profileToolStripMenuItem + // + this.profileToolStripMenuItem.Name = "profileToolStripMenuItem"; + this.profileToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.profileToolStripMenuItem.Text = "Profile"; + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.exitToolStripMenuItem.Text = "Exit"; + // + // aboutToolStripMenuItem + // + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(52, 20); + this.aboutToolStripMenuItem.Text = "About"; + // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(591, 312); this.Controls.Add(this.statusStrip1); + this.Controls.Add(this.menuStrip1); + this.Controls.Add(this.menuStrip2); this.Name = "Main"; this.Text = "RadioDJViewer - OBS Text GDI"; this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); + this.menuStrip2.ResumeLayout(false); + this.menuStrip2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -90,6 +155,13 @@ private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.MenuStrip menuStrip2; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem restAPISettingToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem profileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; } } diff --git a/RadioDJViewer/Main.resx b/RadioDJViewer/Main.resx index 4d552ac..720345f 100644 --- a/RadioDJViewer/Main.resx +++ b/RadioDJViewer/Main.resx @@ -128,4 +128,10 @@ IIAAAT2Y3yoAAAAASUVORK5CYII= + + 132, 17 + + + 247, 17 + \ No newline at end of file