30 lines
717 B
C#
30 lines
717 B
C#
using Microsoft.Practices.Prism.Events;
|
|
|
|
namespace DTS.Common.Events
|
|
{
|
|
/// <summary>
|
|
/// Event to inform app that it should mark itself busy or available
|
|
/// </summary>
|
|
/// <remarks>
|
|
///
|
|
/// </remarks>
|
|
public class UserEvent : CompositePresentationEvent<UserEventArg> { }
|
|
|
|
public class UserEventArg
|
|
{
|
|
public enum Events
|
|
{
|
|
ViewingUserChanged
|
|
}
|
|
|
|
public Events EventType { get; private set; }
|
|
public object Argument { get; private set; }
|
|
|
|
public UserEventArg(Events eventType, object argument)
|
|
{
|
|
EventType = eventType;
|
|
Argument = argument;
|
|
}
|
|
}
|
|
}
|