diff options
| author | AShifter <[email protected]> | 2017-10-01 08:23:50 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-10-01 08:23:50 -0600 |
| commit | 46fe7eb7098dd31b186e13e228fede07c46ee064 (patch) | |
| tree | e6fbc5ac67890b11293f682c279ff7670ecef8cf /ShiftOS.Main/ShiftOS/Apps/ShiftDemo.cs | |
| parent | f5004702c46d6c99737a0519d7d6735307c7501a (diff) | |
| parent | f2ed0c673c2d3f0e021b0307a22792af66fd217d (diff) | |
| download | shiftos-rewind-46fe7eb7098dd31b186e13e228fede07c46ee064.tar.gz shiftos-rewind-46fe7eb7098dd31b186e13e228fede07c46ee064.tar.bz2 shiftos-rewind-46fe7eb7098dd31b186e13e228fede07c46ee064.zip | |
Merge remote-tracking branch 'refs/remotes/ShiftOS-Rewind/master'
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(); + } + } } |
