aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/DesktopWidgetAttribute.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-16 13:31:23 -0400
committerMichael <[email protected]>2017-04-16 13:31:23 -0400
commit538f99faf7b381717079ea700d4f2e6e908537ea (patch)
tree8d8494581c8af53ddc90121e0b69466ea06e6889 /ShiftOS.WinForms/DesktopWidgetAttribute.cs
parenta0fc2b5e701659d1ed17eba9c2888cae6d519c1e (diff)
downloadshiftos_thereturn-538f99faf7b381717079ea700d4f2e6e908537ea.tar.gz
shiftos_thereturn-538f99faf7b381717079ea700d4f2e6e908537ea.tar.bz2
shiftos_thereturn-538f99faf7b381717079ea700d4f2e6e908537ea.zip
Begin work on Desktop Widgets
Diffstat (limited to 'ShiftOS.WinForms/DesktopWidgetAttribute.cs')
-rw-r--r--ShiftOS.WinForms/DesktopWidgetAttribute.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/DesktopWidgetAttribute.cs b/ShiftOS.WinForms/DesktopWidgetAttribute.cs
new file mode 100644
index 0000000..28d50ac
--- /dev/null
+++ b/ShiftOS.WinForms/DesktopWidgetAttribute.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ShiftOS.WinForms
+{
+ [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
+ public class DesktopWidgetAttribute : Attribute
+ {
+ public string Name { get; set; }
+ public string Description { get; set; }
+
+ public DesktopWidgetAttribute(string n, string desc)
+ {
+ Name = n;
+ Description = desc;
+ }
+ }
+}