aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Main/Apps/ShiftDemo.cs
blob: ced10d275d0ca53fc3257d41975159d18c7db90d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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();
		}
	}
}