diff options
| author | John T <[email protected]> | 2017-09-27 18:32:16 -0400 |
|---|---|---|
| committer | John T <[email protected]> | 2017-09-27 18:32:16 -0400 |
| commit | a25baf08203237fc2eeeb4b7ca720f7d47f8a666 (patch) | |
| tree | 2664b08ca0f9b57ed0a9240ab54441ece6ac2d71 /ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs | |
| parent | dc7533184a88271bfd2a3aae299532ec7632144d (diff) | |
| download | shiftos-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.cs | 10 |
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(); + } + } } |
