rainmeter-studio/RainmeterStudio/Model/Property.cs

31 lines
615 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RainmeterStudio.Model
{
public class Property
{
public string Name { get; set; }
private object _value;
public object Value
{
get
{
return _value;
}
set
{
_value = value;
if (ValueChanged != null)
ValueChanged(this, new EventArgs());
}
}
public event EventHandler ValueChanged;
}
}