diff options
Diffstat (limited to 'ShiftOS.Main/Apps/ShiftDemo.cs')
| -rw-r--r-- | ShiftOS.Main/Apps/ShiftDemo.cs | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
