2017-09-24 18:32:50 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
2017-09-27 22:32:16 +00:00
|
|
|
|
using ShiftOS.Engine.WindowManager;
|
2017-09-24 18:32:50 +00:00
|
|
|
|
|
|
|
|
|
namespace ShiftOS.Main
|
|
|
|
|
{
|
2017-09-27 22:32:16 +00:00
|
|
|
|
public partial class ShiftDemo : UserControl, IShiftWindowExtensions
|
2017-09-24 18:32:50 +00:00
|
|
|
|
{
|
|
|
|
|
public ShiftDemo()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2017-09-27 22:32:16 +00:00
|
|
|
|
|
|
|
|
|
public void OnLoaded(ShiftWindow window)
|
|
|
|
|
{
|
|
|
|
|
icon.Image = this.GetShiftWindow().Icon.ToBitmap();
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-24 18:32:50 +00:00
|
|
|
|
}
|