1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-24 23:00:12 +00:00
msfs-popout-panel-manager/MainApp/CustomControl/ValueChangeEventHandler.cs
2023-07-12 18:47:24 -04:00

18 lines
589 B
C#

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; }
}
}