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