diff --git a/ShiftOS-TheRevival-CS/Form1.Designer.cs b/ShiftOS-TheRevival-CS/Form1.Designer.cs deleted file mode 100644 index 8110a04..0000000 --- a/ShiftOS-TheRevival-CS/Form1.Designer.cs +++ /dev/null @@ -1,68 +0,0 @@ - -namespace ShiftOS_TheRevival_CS -{ - partial class ShiftOSMenu - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(13, 13); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); - this.button1.TabIndex = 0; - this.button1.Text = "Exit"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // ShiftOSMenu - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.Color.Silver; - this.ClientSize = new System.Drawing.Size(624, 441); - this.Controls.Add(this.button1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.MaximizeBox = false; - this.Name = "ShiftOSMenu"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "ShiftOS Menu"; - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Button button1; - } -} - diff --git a/ShiftOS-TheRevival-CS/Form1.cs b/ShiftOS-TheRevival-CS/Form1.cs deleted file mode 100644 index 0a1d2f3..0000000 --- a/ShiftOS-TheRevival-CS/Form1.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace ShiftOS_TheRevival_CS -{ - public partial class ShiftOSMenu : Form - { - public ShiftOSMenu() - { - InitializeComponent(); - } - - private void button1_Click(object sender, EventArgs e) - { - Close(); - } - } -} diff --git a/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.Designer.cs b/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.Designer.cs new file mode 100644 index 0000000..b722fdd --- /dev/null +++ b/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.Designer.cs @@ -0,0 +1,163 @@ + +namespace ShiftOS_TheRevival_CS +{ + partial class ShiftOSMenu + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.btn_FreeRoam = new System.Windows.Forms.Button(); + this.btn_StoryMode = new System.Windows.Forms.Button(); + this.btn_Exit = new System.Windows.Forms.Button(); + this.btn_Aboot = new System.Windows.Forms.Button(); + this.Label2 = new System.Windows.Forms.Label(); + this.Label1 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Black; + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Right; + this.pictureBox1.Location = new System.Drawing.Point(264, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(360, 441); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // btn_FreeRoam + // + this.btn_FreeRoam.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btn_FreeRoam.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.btn_FreeRoam.ForeColor = System.Drawing.Color.White; + this.btn_FreeRoam.Location = new System.Drawing.Point(22, 137); + this.btn_FreeRoam.Name = "btn_FreeRoam"; + this.btn_FreeRoam.Size = new System.Drawing.Size(224, 23); + this.btn_FreeRoam.TabIndex = 8; + this.btn_FreeRoam.Text = "Free Roam Mode"; + this.btn_FreeRoam.UseVisualStyleBackColor = true; + this.btn_FreeRoam.Click += new System.EventHandler(this.btn_FreeRoam_Click); + // + // btn_StoryMode + // + this.btn_StoryMode.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btn_StoryMode.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.btn_StoryMode.ForeColor = System.Drawing.Color.White; + this.btn_StoryMode.Location = new System.Drawing.Point(22, 108); + this.btn_StoryMode.Name = "btn_StoryMode"; + this.btn_StoryMode.Size = new System.Drawing.Size(224, 23); + this.btn_StoryMode.TabIndex = 6; + this.btn_StoryMode.Text = "Story Mode"; + this.btn_StoryMode.UseVisualStyleBackColor = true; + this.btn_StoryMode.Click += new System.EventHandler(this.btn_StoryMode_Click); + // + // btn_Exit + // + this.btn_Exit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btn_Exit.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.btn_Exit.ForeColor = System.Drawing.Color.White; + this.btn_Exit.Location = new System.Drawing.Point(22, 195); + this.btn_Exit.Name = "btn_Exit"; + this.btn_Exit.Size = new System.Drawing.Size(224, 23); + this.btn_Exit.TabIndex = 10; + this.btn_Exit.Text = "Exit"; + this.btn_Exit.UseVisualStyleBackColor = true; + this.btn_Exit.Click += new System.EventHandler(this.btn_Exit_Click); + // + // btn_Aboot + // + this.btn_Aboot.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btn_Aboot.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.btn_Aboot.ForeColor = System.Drawing.Color.White; + this.btn_Aboot.Location = new System.Drawing.Point(22, 166); + this.btn_Aboot.Name = "btn_Aboot"; + this.btn_Aboot.Size = new System.Drawing.Size(224, 23); + this.btn_Aboot.TabIndex = 9; + this.btn_Aboot.Text = "About"; + this.btn_Aboot.UseVisualStyleBackColor = true; + this.btn_Aboot.Click += new System.EventHandler(this.btn_Aboot_Click); + // + // Label2 + // + this.Label2.AutoSize = true; + this.Label2.Font = new System.Drawing.Font("Consolas", 12F); + this.Label2.ForeColor = System.Drawing.Color.White; + this.Label2.Location = new System.Drawing.Point(18, 65); + this.Label2.Name = "Label2"; + this.Label2.Size = new System.Drawing.Size(162, 19); + this.Label2.TabIndex = 7; + this.Label2.Text = "Shift it your way"; + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.Font = new System.Drawing.Font("Consolas", 36F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label1.ForeColor = System.Drawing.Color.White; + this.Label1.Location = new System.Drawing.Point(12, 9); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(206, 56); + this.Label1.TabIndex = 5; + this.Label1.Text = "ShiftOS"; + // + // ShiftOSMenu + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.DimGray; + this.ClientSize = new System.Drawing.Size(624, 441); + this.Controls.Add(this.btn_FreeRoam); + this.Controls.Add(this.btn_StoryMode); + this.Controls.Add(this.btn_Exit); + this.Controls.Add(this.btn_Aboot); + this.Controls.Add(this.Label2); + this.Controls.Add(this.Label1); + this.Controls.Add(this.pictureBox1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "ShiftOSMenu"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "ShiftOS Menu"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + internal System.Windows.Forms.Button btn_FreeRoam; + internal System.Windows.Forms.Button btn_StoryMode; + internal System.Windows.Forms.Button btn_Exit; + internal System.Windows.Forms.Button btn_Aboot; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.Label Label1; + } +} + diff --git a/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.cs b/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.cs new file mode 100644 index 0000000..661d799 --- /dev/null +++ b/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ShiftOS_TheRevival_CS +{ + public partial class ShiftOSMenu : Form + { + public ShiftOSMenu() + { + InitializeComponent(); + } + + private void btn_Exit_Click(object sender, EventArgs e) + { + Close(); + } + + private void btn_StoryMode_Click(object sender, EventArgs e) + { + switch (btn_StoryMode.Text) { + case "Story Mode": + btn_StoryMode.Text = "New Game"; + btn_FreeRoam.Text = "Continue"; + btn_Aboot.Text = "Back"; + btn_Exit.Visible = false; + break; + case "New Game": + break; + } + } + + private void btn_FreeRoam_Click(object sender, EventArgs e) + { + switch (btn_FreeRoam.Text) + { + case "Free Roam Mode": + break; + case "Continue": + break; + } + } + + private void btn_Aboot_Click(object sender, EventArgs e) + { + switch (btn_Aboot.Text) { + case "Back": + btn_StoryMode.Text = "Story Mode"; + btn_FreeRoam.Text = "Free Roam Mode"; + btn_Aboot.Text = "About"; + btn_Exit.Visible = true; + break; + } + } + } +} diff --git a/ShiftOS-TheRevival-CS/Form1.resx b/ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.resx similarity index 100% rename from ShiftOS-TheRevival-CS/Form1.resx rename to ShiftOS-TheRevival-CS/MainForms/ShiftOSMenu.resx diff --git a/ShiftOS-TheRevival-CS/ShiftOS-TheRevival-CS.csproj b/ShiftOS-TheRevival-CS/ShiftOS-TheRevival-CS.csproj index 6bea8ee..b239701 100644 --- a/ShiftOS-TheRevival-CS/ShiftOS-TheRevival-CS.csproj +++ b/ShiftOS-TheRevival-CS/ShiftOS-TheRevival-CS.csproj @@ -45,16 +45,16 @@ - + Form - - Form1.cs + + ShiftOSMenu.cs - - Form1.cs + + ShiftOSMenu.cs ResXFileCodeGenerator