diff options
Diffstat (limited to 'ShiftOS.WinForms/ShiftnetSites/DesktopWidgetWebsite.cs')
| -rw-r--r-- | ShiftOS.WinForms/ShiftnetSites/DesktopWidgetWebsite.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/ShiftnetSites/DesktopWidgetWebsite.cs b/ShiftOS.WinForms/ShiftnetSites/DesktopWidgetWebsite.cs new file mode 100644 index 0000000..c39cbf0 --- /dev/null +++ b/ShiftOS.WinForms/ShiftnetSites/DesktopWidgetWebsite.cs @@ -0,0 +1,44 @@ +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; +using ShiftOS.Engine; + +namespace ShiftOS.WinForms.ShiftnetSites +{ + [ShiftnetSite("shiftnet/superdesk", "SuperDesk", "Empower the ShiftOS Desktop like never before.")] + [ShiftnetFundamental] + public partial class DesktopWidgetWebsite : UserControl, Engine.IShiftnetSite + { + public DesktopWidgetWebsite() + { + InitializeComponent(); + this.Click += (o, a) => + { + GoToUrl?.Invoke("shiftnet/main"); + Infobox.Show("Haha!", "You thought this would do something else. But no!"); + }; + } + + public event Action GoBack; + public event Action<string> GoToUrl; + + public void OnSkinLoad() + { + } + + public void OnUpgrade() + { + } + + public void Setup() + { + + } + } +} |
