diff options
| author | Alee14 <Alee14498@gmail.com> | 2018-05-12 20:57:57 -0400 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2018-05-12 20:57:57 -0400 |
| commit | 946f2cdf7a5947dd3a39c58962a5f34cac8e2e8d (patch) | |
| tree | 77c58d588ec4e931e5f96071fe8ed5c06462c75c /Project Ports | |
| parent | cebc36ad82b35856c78ea7de4b0b412b48cc526e (diff) | |
| download | Project-Silicon-946f2cdf7a5947dd3a39c58962a5f34cac8e2e8d.tar.gz Project-Silicon-946f2cdf7a5947dd3a39c58962a5f34cac8e2e8d.tar.bz2 Project-Silicon-946f2cdf7a5947dd3a39c58962a5f34cac8e2e8d.zip | |
Added the desktop
Diffstat (limited to 'Project Ports')
| -rw-r--r-- | Project Ports/Desktop.Designer.cs | 77 | ||||
| -rw-r--r-- | Project Ports/Desktop.cs | 20 | ||||
| -rw-r--r-- | Project Ports/Desktop.resx | 123 | ||||
| -rw-r--r-- | Project Ports/MainMenu.Designer.cs | 5 | ||||
| -rw-r--r-- | Project Ports/MainMenu.cs | 7 | ||||
| -rw-r--r-- | Project Ports/Project Ports.csproj | 9 |
6 files changed, 238 insertions, 3 deletions
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 + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="appMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> +</root>
\ 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 @@ <Compile Include="About.Designer.cs"> <DependentUpon>About.cs</DependentUpon> </Compile> + <Compile Include="Desktop.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Desktop.Designer.cs"> + <DependentUpon>Desktop.cs</DependentUpon> + </Compile> <Compile Include="MainMenu.cs"> <SubType>Form</SubType> </Compile> @@ -62,6 +68,9 @@ <EmbeddedResource Include="About.resx"> <DependentUpon>About.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="Desktop.resx"> + <DependentUpon>Desktop.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="MainMenu.resx"> <DependentUpon>MainMenu.cs</DependentUpon> </EmbeddedResource> |
