using Prism.Events; namespace DTS.Common.Events { /// /// Event to inform app that it should mark itself busy or available /// /// /// /// public class AppStatusEvent : PubSubEvent { } /// /// app status extended event /// app status event notification providing additional information /// 15648 Need busy cursor for view data tab /// public class AppStatusExEvent : PubSubEvent { } public class AppStatusExArg { /// /// status being notified /// public AppStatusArg Status { get; private set; } /// /// name of process notifying of status /// public string Name { get; private set; } public AppStatusExArg(AppStatusArg status, string name) { Status = status; Name = name; } } public enum AppStatusArg { Busy, Available, Shutdown, //called when windows or the user session is ended (logged out) Close, //called when the application is closed UserLogout //called when a user is logged out } }