diff options
| author | Michael <[email protected]> | 2017-04-23 21:43:19 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-23 21:43:19 -0400 |
| commit | 6df3458048e900d564656a2882ed5390e74b98fb (patch) | |
| tree | 17acb9a133fae42d0302e782d73069e574e1a850 /ShiftOS.WinForms/ShiftnetSites/DesktopWidgetWebsite.cs | |
| parent | ba157cdeddef2a856600bb6e12aef9496974a213 (diff) | |
| download | shiftos_thereturn-6df3458048e900d564656a2882ed5390e74b98fb.tar.gz shiftos_thereturn-6df3458048e900d564656a2882ed5390e74b98fb.tar.bz2 shiftos_thereturn-6df3458048e900d564656a2882ed5390e74b98fb.zip | |
more shiftnet stuff
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() + { + + } + } +} |
