init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum representing the TabControl operations type.
|
||||
/// </summary>
|
||||
public enum RibbonControlOperation
|
||||
{
|
||||
/// <summary>
|
||||
/// The item has been added to the TabControl.
|
||||
/// </summary>
|
||||
AddedItem,
|
||||
|
||||
/// <summary>
|
||||
/// The item has been removed from the TabControl.
|
||||
/// </summary>
|
||||
RemovedItem
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Event to inform app that it should mark itself busy or available
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
///
|
||||
/// </remarks>
|
||||
public class AppStatusEvent : PubSubEvent<AppStatusArg> { }
|
||||
/// <summary>
|
||||
/// app status extended event
|
||||
/// app status event notification providing additional information
|
||||
/// 15648 Need busy cursor for view data tab
|
||||
/// </summary>
|
||||
public class AppStatusExEvent : PubSubEvent<AppStatusExArg> { }
|
||||
|
||||
public class AppStatusExArg
|
||||
{
|
||||
/// <summary>
|
||||
/// status being notified
|
||||
/// </summary>
|
||||
public AppStatusArg Status { get; private set; }
|
||||
/// <summary>
|
||||
/// name of process notifying of status
|
||||
/// </summary>
|
||||
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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface.Database
|
||||
{
|
||||
public interface IDatabaseSwitchView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface.GroupTemplate
|
||||
{
|
||||
public interface IGroupTemplateExportView : IBaseView { }
|
||||
}
|
||||
Reference in New Issue
Block a user