From 946f2cdf7a5947dd3a39c58962a5f34cac8e2e8d Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sat, 12 May 2018 20:57:57 -0400 Subject: Added the desktop --- Project Ports/Desktop.Designer.cs | 77 +++++++++++++++++++++++ Project Ports/Desktop.cs | 20 ++++++ Project Ports/Desktop.resx | 123 +++++++++++++++++++++++++++++++++++++ Project Ports/MainMenu.Designer.cs | 5 +- Project Ports/MainMenu.cs | 7 ++- Project Ports/Project Ports.csproj | 9 +++ 6 files changed, 238 insertions(+), 3 deletions(-) create mode 100644 Project Ports/Desktop.Designer.cs create mode 100644 Project Ports/Desktop.cs create mode 100644 Project Ports/Desktop.resx diff --git a/Project Ports/Desktop.Designer.cs b/Project Ports/Desktop.Designer.cs new file mode 100644 index 0000000..9c64f92 --- /dev/null +++ b/Project Ports/Desktop.Designer.cs @@ -0,0 +1,77 @@ +namespace Project_Ports +{ + partial class Desktop + { + /// + /// 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.appMenu = new System.Windows.Forms.MenuStrip(); + this.menuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.appMenu.SuspendLayout(); + this.SuspendLayout(); + // + // appMenu + // + this.appMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.menuToolStripMenuItem}); + this.appMenu.Location = new System.Drawing.Point(0, 0); + this.appMenu.Name = "appMenu"; + this.appMenu.Size = new System.Drawing.Size(800, 24); + this.appMenu.TabIndex = 0; + this.appMenu.Text = "menuStrip1"; + // + // menuToolStripMenuItem + // + this.menuToolStripMenuItem.Name = "menuToolStripMenuItem"; + this.menuToolStripMenuItem.Size = new System.Drawing.Size(50, 20); + this.menuToolStripMenuItem.Text = "Menu"; + // + // Desktop + // + 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(800, 450); + this.Controls.Add(this.appMenu); + this.ForeColor = System.Drawing.Color.White; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.MainMenuStrip = this.appMenu; + this.Name = "Desktop"; + this.Text = "Desktop"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.appMenu.ResumeLayout(false); + this.appMenu.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip appMenu; + private System.Windows.Forms.ToolStripMenuItem menuToolStripMenuItem; + } +} \ No newline at end of file diff --git a/Project Ports/Desktop.cs b/Project Ports/Desktop.cs new file mode 100644 index 0000000..9ab8f50 --- /dev/null +++ b/Project Ports/Desktop.cs @@ -0,0 +1,20 @@ +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 Project_Ports +{ + public partial class Desktop : Form + { + public Desktop() + { + InitializeComponent(); + } + } +} diff --git a/Project Ports/Desktop.resx b/Project Ports/Desktop.resx new file mode 100644 index 0000000..c5fd09f --- /dev/null +++ b/Project Ports/Desktop.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/Project Ports/MainMenu.Designer.cs b/Project Ports/MainMenu.Designer.cs index 3c00002..c7b5d46 100644 --- a/Project Ports/MainMenu.Designer.cs +++ b/Project Ports/MainMenu.Designer.cs @@ -123,7 +123,7 @@ this.label3.TabIndex = 6; this.label3.Text = "Alpha 0.1"; // - // Form1 + // MainMenu // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; @@ -137,9 +137,10 @@ this.Controls.Add(this.label1); this.Controls.Add(this.button1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "Form1"; + this.Name = "MainMenu"; this.Text = "Form1"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.Load += new System.EventHandler(this.MainMenu_Load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Project Ports/MainMenu.cs b/Project Ports/MainMenu.cs index 8a38936..f092c6f 100644 --- a/Project Ports/MainMenu.cs +++ b/Project Ports/MainMenu.cs @@ -51,5 +51,10 @@ namespace Project_Ports About aboutForm = new About(); aboutForm.Show(); } + + private void MainMenu_Load(object sender, EventArgs e) + { + + } } -} +} \ No newline at end of file diff --git a/Project Ports/Project Ports.csproj b/Project Ports/Project Ports.csproj index 07170cc..cc42815 100644 --- a/Project Ports/Project Ports.csproj +++ b/Project Ports/Project Ports.csproj @@ -51,6 +51,12 @@ About.cs + + Form + + + Desktop.cs + Form @@ -62,6 +68,9 @@ About.cs + + Desktop.cs + MainMenu.cs -- cgit v1.2.3