diff options
| author | Unknown <Alee14498@gmail.com> | 2017-08-21 21:37:00 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-08-21 21:37:00 -0400 |
| commit | 80c29c540ab666b05f3299fca89c1e6c895c398c (patch) | |
| tree | 1c964728059392ae7e2bf4bc25bbac39d4b62f52 | |
| parent | 273a4109e6d83fa495a3b28c17e704d9c58b6aab (diff) | |
| download | Smart-TV-for-Windows-80c29c540ab666b05f3299fca89c1e6c895c398c.tar.gz Smart-TV-for-Windows-80c29c540ab666b05f3299fca89c1e6c895c398c.tar.bz2 Smart-TV-for-Windows-80c29c540ab666b05f3299fca89c1e6c895c398c.zip | |
Added new files
| -rw-r--r-- | Smart TV for Windows/Program.cs | 2 | ||||
| -rw-r--r-- | Smart TV for Windows/Smart TV for Windows.csproj | 21 | ||||
| -rw-r--r-- | Smart TV for Windows/menu.Designer.cs | 139 | ||||
| -rw-r--r-- | Smart TV for Windows/menu.cs | 40 | ||||
| -rw-r--r-- | Smart TV for Windows/menu.resx | 120 | ||||
| -rw-r--r-- | Smart TV for Windows/netflix.Designer.cs (renamed from Smart TV for Windows/Form1.Designer.cs) | 7 | ||||
| -rw-r--r-- | Smart TV for Windows/netflix.cs (renamed from Smart TV for Windows/Form1.cs) | 4 | ||||
| -rw-r--r-- | Smart TV for Windows/youtube.Designer.cs | 38 | ||||
| -rw-r--r-- | Smart TV for Windows/youtube.cs | 20 |
9 files changed, 381 insertions, 10 deletions
diff --git a/Smart TV for Windows/Program.cs b/Smart TV for Windows/Program.cs index 09e5298..0f54e09 100644 --- a/Smart TV for Windows/Program.cs +++ b/Smart TV for Windows/Program.cs @@ -16,7 +16,7 @@ namespace Smart_TV_for_Windows { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new menu()); } } } diff --git a/Smart TV for Windows/Smart TV for Windows.csproj b/Smart TV for Windows/Smart TV for Windows.csproj index 2b7a8c1..630a1de 100644 --- a/Smart TV for Windows/Smart TV for Windows.csproj +++ b/Smart TV for Windows/Smart TV for Windows.csproj @@ -46,14 +46,29 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> - <Compile Include="Form1.cs"> + <Compile Include="menu.cs"> <SubType>Form</SubType> </Compile> - <Compile Include="Form1.Designer.cs"> - <DependentUpon>Form1.cs</DependentUpon> + <Compile Include="menu.Designer.cs"> + <DependentUpon>menu.cs</DependentUpon> + </Compile> + <Compile Include="netflix.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="netflix.Designer.cs"> + <DependentUpon>netflix.cs</DependentUpon> </Compile> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="youtube.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="youtube.Designer.cs"> + <DependentUpon>youtube.cs</DependentUpon> + </Compile> + <EmbeddedResource Include="menu.resx"> + <DependentUpon>menu.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Properties\Resources.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> diff --git a/Smart TV for Windows/menu.Designer.cs b/Smart TV for Windows/menu.Designer.cs new file mode 100644 index 0000000..9b2f5ff --- /dev/null +++ b/Smart TV for Windows/menu.Designer.cs @@ -0,0 +1,139 @@ +namespace Smart_TV_for_Windows +{ + partial class menu + { + /// <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.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Segoe UI Semilight", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(38, 27); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(248, 21); + this.label1.TabIndex = 0; + this.label1.Text = "Welcome to Smart TV for Windows"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.Location = new System.Drawing.Point(58, 63); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(210, 13); + this.label2.TabIndex = 1; + this.label2.Text = "This program is meant for Windows TV Box"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(42, 119); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(88, 38); + this.button1.TabIndex = 2; + this.button1.Text = "YouTube TV"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(199, 119); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(87, 38); + this.button2.TabIndex = 3; + this.button2.Text = "Netflix"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(106, 200); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(97, 33); + this.button3.TabIndex = 4; + this.button3.Text = "Shutdown or Quit"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(12, 220); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(69, 13); + this.label3.TabIndex = 5; + this.label3.Text = "Version 0.0.1"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(227, 220); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(94, 13); + this.label4.TabIndex = 6; + this.label4.Text = "Made by AleeCorp"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(333, 245); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "Form1"; + this.Text = "Smart TV for Windows"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + } +} + diff --git a/Smart TV for Windows/menu.cs b/Smart TV for Windows/menu.cs new file mode 100644 index 0000000..2262238 --- /dev/null +++ b/Smart TV for Windows/menu.cs @@ -0,0 +1,40 @@ +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 Smart_TV_for_Windows +{ + public partial class menu : Form + { + public menu() + { + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + + } + + private void button1_Click(object sender, EventArgs e) + { + + } + + private void button3_Click(object sender, EventArgs e) + { + Environment.Exit(0); + } + + private void button2_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/Smart TV for Windows/menu.resx b/Smart TV for Windows/menu.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Smart TV for Windows/menu.resx @@ -0,0 +1,120 @@ +<?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> +</root>
\ No newline at end of file diff --git a/Smart TV for Windows/Form1.Designer.cs b/Smart TV for Windows/netflix.Designer.cs index 9fc1a3c..2450e2f 100644 --- a/Smart TV for Windows/Form1.Designer.cs +++ b/Smart TV for Windows/netflix.Designer.cs @@ -1,6 +1,6 @@ namespace Smart_TV_for_Windows { - partial class Form1 + partial class netflix { /// <summary> /// Required designer variable. @@ -30,10 +30,9 @@ { this.components = new System.ComponentModel.Container(); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Text = "Form1"; + this.Text = "netflix"; } #endregion } -} - +}
\ No newline at end of file diff --git a/Smart TV for Windows/Form1.cs b/Smart TV for Windows/netflix.cs index 59ceccd..50d20fb 100644 --- a/Smart TV for Windows/Form1.cs +++ b/Smart TV for Windows/netflix.cs @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace Smart_TV_for_Windows { - public partial class Form1 : Form + public partial class netflix : Form { - public Form1() + public netflix() { InitializeComponent(); } diff --git a/Smart TV for Windows/youtube.Designer.cs b/Smart TV for Windows/youtube.Designer.cs new file mode 100644 index 0000000..2fcaa5d --- /dev/null +++ b/Smart TV for Windows/youtube.Designer.cs @@ -0,0 +1,38 @@ +namespace Smart_TV_for_Windows +{ + partial class youtube + { + /// <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.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Text = "youtube"; + } + + #endregion + } +}
\ No newline at end of file diff --git a/Smart TV for Windows/youtube.cs b/Smart TV for Windows/youtube.cs new file mode 100644 index 0000000..7bbab70 --- /dev/null +++ b/Smart TV for Windows/youtube.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 Smart_TV_for_Windows +{ + public partial class youtube : Form + { + public youtube() + { + InitializeComponent(); + } + } +} |
