From 43364450a2215a92000d4fa62c11e30bf1a3d295 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 27 Feb 2017 12:08:50 -0500 Subject: Snakey basics --- ShiftOS.WinForms/Applications/Snakey.Designer.cs | 37 +++++++++++++++++++ ShiftOS.WinForms/Applications/Snakey.cs | 45 ++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 ShiftOS.WinForms/Applications/Snakey.Designer.cs create mode 100644 ShiftOS.WinForms/Applications/Snakey.cs (limited to 'ShiftOS.WinForms/Applications') diff --git a/ShiftOS.WinForms/Applications/Snakey.Designer.cs b/ShiftOS.WinForms/Applications/Snakey.Designer.cs new file mode 100644 index 0000000..22780c4 --- /dev/null +++ b/ShiftOS.WinForms/Applications/Snakey.Designer.cs @@ -0,0 +1,37 @@ +namespace ShiftOS.WinForms.Applications +{ + partial class Snakey + { + /// + /// 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 Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + } + + #endregion + } +} diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs new file mode 100644 index 0000000..0c704d5 --- /dev/null +++ b/ShiftOS.WinForms/Applications/Snakey.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using ShiftOS.Engine; + +namespace ShiftOS.WinForms.Applications +{ + [Launcher("Snakey", true, "al_snakey", "Games")] + [RequiresUpgrade("snakey")] + [WinOpen("snakey")] + [DefaultIcon("iconSnakey")] + public partial class Snakey : UserControl, IShiftOSWindow + { + public Snakey() + { + InitializeComponent(); + } + + public void OnLoad() + { + throw new NotImplementedException(); + } + + public void OnSkinLoad() + { + throw new NotImplementedException(); + } + + public bool OnUnload() + { + throw new NotImplementedException(); + } + + public void OnUpgrade() + { + throw new NotImplementedException(); + } + } +} -- cgit v1.2.3