From 97c66fb4ea00941c83bbf6c0778fced0daf37c9f Mon Sep 17 00:00:00 2001 From: Alee Date: Mon, 11 Feb 2019 16:23:17 -0500 Subject: Added appveyor and renamed Form1 to MainMenu --- Microbit/Form1.Designer.cs | 40 ---------------------------------------- Microbit/Form1.cs | 20 -------------------- Microbit/MainMenu.Designer.cs | 40 ++++++++++++++++++++++++++++++++++++++++ Microbit/MainMenu.cs | 20 ++++++++++++++++++++ Microbit/Microbit.csproj | 6 +++--- Microbit/Program.cs | 2 +- 6 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 Microbit/Form1.Designer.cs delete mode 100644 Microbit/Form1.cs create mode 100644 Microbit/MainMenu.Designer.cs create mode 100644 Microbit/MainMenu.cs (limited to 'Microbit') diff --git a/Microbit/Form1.Designer.cs b/Microbit/Form1.Designer.cs deleted file mode 100644 index cf875b3..0000000 --- a/Microbit/Form1.Designer.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace Microbit -{ - 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.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; - } - - #endregion - } -} - diff --git a/Microbit/Form1.cs b/Microbit/Form1.cs deleted file mode 100644 index 0935cf1..0000000 --- a/Microbit/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 Microbit -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} diff --git a/Microbit/MainMenu.Designer.cs b/Microbit/MainMenu.Designer.cs new file mode 100644 index 0000000..210b8de --- /dev/null +++ b/Microbit/MainMenu.Designer.cs @@ -0,0 +1,40 @@ +namespace Microbit +{ + partial class MainMenu + { + /// + /// 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.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/Microbit/MainMenu.cs b/Microbit/MainMenu.cs new file mode 100644 index 0000000..4e585e3 --- /dev/null +++ b/Microbit/MainMenu.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 Microbit +{ + public partial class MainMenu : Form + { + public MainMenu() + { + InitializeComponent(); + } + } +} diff --git a/Microbit/Microbit.csproj b/Microbit/Microbit.csproj index a2ba09e..e0b35a4 100644 --- a/Microbit/Microbit.csproj +++ b/Microbit/Microbit.csproj @@ -45,11 +45,11 @@ - + Form - - Form1.cs + + MainMenu.cs diff --git a/Microbit/Program.cs b/Microbit/Program.cs index e040909..72ac533 100644 --- a/Microbit/Program.cs +++ b/Microbit/Program.cs @@ -16,7 +16,7 @@ namespace Microbit { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new MainMenu()); } } } -- cgit v1.2.3