using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace HxUserManagement.Classes { public class CustomRoutedEventArgs : RoutedEventArgs { private readonly object _Param; public object param { get { return _Param; } } private readonly object _oldParam; public object oldParam { get { return _oldParam; } } public CustomRoutedEventArgs(RoutedEvent routedEvent, object parameter, object oldParameter=null) : base(routedEvent) { this._Param = parameter; this._oldParam = oldParameter; } } public class CustomEvent { public delegate void CustomRoutedEventHandler(object sender, CustomRoutedEventArgs e); } }