1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-22 13:50:14 +00:00
msfs-popout-panel-manager/MainApp/CustomControl/ValueChangeEventHandler.cs

19 lines
589 B
C#
Raw Normal View History

2023-07-12 22:41:31 +00:00
using System.Windows;
namespace MSFSPopoutPanelManager.MainApp.CustomControl
{
public delegate void ValueChangedEventHandler(object sender, ValueChangedEventArgs e);
public class ValueChangedEventArgs : RoutedEventArgs
{
public ValueChangedEventArgs(RoutedEvent routedEvent, object source, double oldValue, double newValue)
: base(routedEvent, source)
{
OldValue = oldValue;
NewValue = newValue;
}
public double OldValue { get; private set; }
public double NewValue { get; private set; }
}
}