aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs
diff options
context:
space:
mode:
authorJohn T <[email protected]>2017-09-27 18:32:16 -0400
committerJohn T <[email protected]>2017-09-27 18:32:16 -0400
commita25baf08203237fc2eeeb4b7ca720f7d47f8a666 (patch)
tree2664b08ca0f9b57ed0a9240ab54441ece6ac2d71 /ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs
parentdc7533184a88271bfd2a3aae299532ec7632144d (diff)
downloadshiftos-rewind-a25baf08203237fc2eeeb4b7ca720f7d47f8a666.tar.gz
shiftos-rewind-a25baf08203237fc2eeeb4b7ca720f7d47f8a666.tar.bz2
shiftos-rewind-a25baf08203237fc2eeeb4b7ca720f7d47f8a666.zip
added desktop and some small additions and changes to shiftwm
Diffstat (limited to 'ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs')
-rw-r--r--ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs b/ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs
index 1f400c8..11fc160 100644
--- a/ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs
+++ b/ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs
@@ -7,14 +7,20 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+using ShiftOS.Engine.WindowManager;
namespace ShiftOS.Main
{
- public partial class ShiftDemo : UserControl
+ public partial class ShiftDemo : UserControl, IShiftWindowExtensions
{
public ShiftDemo()
{
InitializeComponent();
}
- }
+
+ public void OnLoaded(ShiftWindow window)
+ {
+ icon.Image = this.GetShiftWindow().Icon.ToBitmap();
+ }
+ }
}