From bca879db94bc6395dbfa77628747080311fdb226 Mon Sep 17 00:00:00 2001 From: Richie Moch Date: Sun, 23 Dec 2018 19:15:07 -0600 Subject: started work on the pong, implemented "ShiftToolStrip". (note: pong is very buggy) --- ShiftOS.Main/Apps/ShiftDemo.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ShiftOS.Main/Apps/ShiftDemo.cs (limited to 'ShiftOS.Main/Apps/ShiftDemo.cs') diff --git a/ShiftOS.Main/Apps/ShiftDemo.cs b/ShiftOS.Main/Apps/ShiftDemo.cs new file mode 100644 index 0000000..ced10d2 --- /dev/null +++ b/ShiftOS.Main/Apps/ShiftDemo.cs @@ -0,0 +1,18 @@ +using System.Windows.Forms; +using ShiftOS.Engine.WindowManager; + +namespace ShiftOS.Main.ShiftOS.Apps +{ + public partial class ShiftDemo : UserControl, IShiftWindowExtensions + { + public ShiftDemo() + { + InitializeComponent(); + } + + public void OnLoaded(ShiftWindow window) + { + icon.Image = this.GetShiftWindow().Icon.ToBitmap(); + } + } +} \ No newline at end of file -- cgit v1.2.3