From 80c29c540ab666b05f3299fca89c1e6c895c398c Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 21 Aug 2017 21:37:00 -0400 Subject: Added new files --- Smart TV for Windows/Form1.Designer.cs | 39 ------- Smart TV for Windows/Form1.cs | 20 ---- Smart TV for Windows/Program.cs | 2 +- Smart TV for Windows/Smart TV for Windows.csproj | 21 +++- Smart TV for Windows/menu.Designer.cs | 139 +++++++++++++++++++++++ Smart TV for Windows/menu.cs | 40 +++++++ Smart TV for Windows/menu.resx | 120 +++++++++++++++++++ Smart TV for Windows/netflix.Designer.cs | 38 +++++++ Smart TV for Windows/netflix.cs | 20 ++++ Smart TV for Windows/youtube.Designer.cs | 38 +++++++ Smart TV for Windows/youtube.cs | 20 ++++ 11 files changed, 434 insertions(+), 63 deletions(-) delete mode 100644 Smart TV for Windows/Form1.Designer.cs delete mode 100644 Smart TV for Windows/Form1.cs create mode 100644 Smart TV for Windows/menu.Designer.cs create mode 100644 Smart TV for Windows/menu.cs create mode 100644 Smart TV for Windows/menu.resx create mode 100644 Smart TV for Windows/netflix.Designer.cs create mode 100644 Smart TV for Windows/netflix.cs create mode 100644 Smart TV for Windows/youtube.Designer.cs create mode 100644 Smart TV for Windows/youtube.cs diff --git a/Smart TV for Windows/Form1.Designer.cs b/Smart TV for Windows/Form1.Designer.cs deleted file mode 100644 index 9fc1a3c..0000000 --- a/Smart TV for Windows/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace Smart_TV_for_Windows -{ - partial class Form1 - { - /// - /// 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.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Text = "Form1"; - } - - #endregion - } -} - diff --git a/Smart TV for Windows/Form1.cs b/Smart TV for Windows/Form1.cs deleted file mode 100644 index 59ceccd..0000000 --- a/Smart TV for Windows/Form1.cs +++ /dev/null @@ -1,20 +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 Smart_TV_for_Windows -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} 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 @@ - + Form - - Form1.cs + + menu.cs + + + Form + + + netflix.cs + + Form + + + youtube.cs + + + menu.cs + ResXFileCodeGenerator Resources.Designer.cs 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 + { + /// + /// 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.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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/Smart TV for Windows/netflix.Designer.cs b/Smart TV for Windows/netflix.Designer.cs new file mode 100644 index 0000000..2450e2f --- /dev/null +++ b/Smart TV for Windows/netflix.Designer.cs @@ -0,0 +1,38 @@ +namespace Smart_TV_for_Windows +{ + partial class netflix + { + /// + /// 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.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Text = "netflix"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Smart TV for Windows/netflix.cs b/Smart TV for Windows/netflix.cs new file mode 100644 index 0000000..50d20fb --- /dev/null +++ b/Smart TV for Windows/netflix.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 netflix : Form + { + 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 + { + /// + /// 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.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(); + } + } +} -- cgit v1.2.3