SharpLibEar/PropertyButton.cs
author StephaneLenclud
Sun, 21 Aug 2016 18:35:58 +0200
changeset 250 b2121d03f6f0
permissions -rw-r--r--
Adding Harmony command selection dialog.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Linq;
     4 using System.Runtime.Serialization;
     5 using System.Text;
     6 using System.Threading.Tasks;
     7 
     8 namespace SharpLib.Ear
     9 {
    10     /// <summary>
    11     /// Generic button property
    12     /// </summary>
    13     [DataContract]
    14     [AttributeObject(Id = "Property.Button", Name = "Button", Description = "Button property.")]
    15     public class PropertyButton : Object
    16     {
    17         public EventHandler ClickEventHandler;
    18 
    19         [DataMember]
    20         public string Text { get; set; }
    21     }
    22 }