SharpLibEar/PropertyButton.cs
author StephaneLenclud
Sat, 07 Jan 2017 20:21:42 +0100
changeset 277 71ba0dd622a5
permissions -rw-r--r--
Created Audio Manager class.
Clean up CScore audio usage.
Fixing broken audio device change handler.
Fixed various audio Dispose deadlock due to Invoke usage.
Thus now using BeginInvoke instead.
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
}