From 202572ae2d4261f21019f387c30114fca4f1e39c Mon Sep 17 00:00:00 2001 From: lempamo Date: Sat, 25 Feb 2017 15:33:37 -0500 Subject: fixed icons --- ShiftOS.WinForms/Applications/ShiftLetters.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'ShiftOS.WinForms/Applications') diff --git a/ShiftOS.WinForms/Applications/ShiftLetters.cs b/ShiftOS.WinForms/Applications/ShiftLetters.cs index 6ff528a..0dd1505 100644 --- a/ShiftOS.WinForms/Applications/ShiftLetters.cs +++ b/ShiftOS.WinForms/Applications/ShiftLetters.cs @@ -39,6 +39,7 @@ namespace ShiftOS.WinForms.Applications [Launcher("ShiftLetters", false, null, "Games")] [RequiresUpgrade("shiftletters")] [WinOpen("shiftletters")] + [DefaultIcon("iconShiftLetters")] public partial class ShiftLetters : UserControl, IShiftOSWindow { int lives = 7; -- cgit v1.2.3 From 84abd2cd11b5bcd78052015cc1f33b9e738b7417 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sat, 25 Feb 2017 16:10:59 -0500 Subject: Basic AudioPlayer planning to use naudio api for this. thoughts? --- .../Applications/AudioPlayer.Designer.cs | 37 +++++++++++++++++++ ShiftOS.WinForms/Applications/AudioPlayer.cs | 41 ++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 ShiftOS.WinForms/Applications/AudioPlayer.Designer.cs create mode 100644 ShiftOS.WinForms/Applications/AudioPlayer.cs (limited to 'ShiftOS.WinForms/Applications') diff --git a/ShiftOS.WinForms/Applications/AudioPlayer.Designer.cs b/ShiftOS.WinForms/Applications/AudioPlayer.Designer.cs new file mode 100644 index 0000000..3cc88df --- /dev/null +++ b/ShiftOS.WinForms/Applications/AudioPlayer.Designer.cs @@ -0,0 +1,37 @@ +namespace ShiftOS.WinForms.Applications +{ + partial class AudioPlayer + { + /// + /// 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/AudioPlayer.cs b/ShiftOS.WinForms/Applications/AudioPlayer.cs new file mode 100644 index 0000000..b7dc9ee --- /dev/null +++ b/ShiftOS.WinForms/Applications/AudioPlayer.cs @@ -0,0 +1,41 @@ +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 +{ + public partial class AudioPlayer : UserControl, IShiftOSWindow + { + public AudioPlayer() + { + InitializeComponent(); + } + + public void OnLoad() + { + + } + + public void OnSkinLoad() + { + + } + + public bool OnUnload() + { + return true; + } + + public void OnUpgrade() + { + + } + } +} -- cgit v1.2.3