init
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 730 B |
@@ -0,0 +1,20 @@
|
||||
namespace DTS.Common.Enums.DBExport
|
||||
{
|
||||
/// <summary>
|
||||
/// different tags for an ISODll.MMEDirection
|
||||
/// </summary>
|
||||
public enum CustomDirectionFields
|
||||
{
|
||||
Direction,
|
||||
Expired,
|
||||
History,
|
||||
Last_Change,
|
||||
Last_Change_Text,
|
||||
Remarks,
|
||||
GUID,
|
||||
SortKey,
|
||||
Text_L1,
|
||||
Text_L2,
|
||||
Version
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDockPanelVerticalView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
using System.Windows;
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Progress bar event
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// notification event for progress bars
|
||||
/// </remarks>
|
||||
public class ProgressBarEvent : CompositePresentationEvent<ProgressBarEventArg> { }
|
||||
|
||||
public class ProgressBarEventArg
|
||||
{
|
||||
/// <summary>
|
||||
/// progress bar the event belongs to
|
||||
/// </summary>
|
||||
public string ProgressBarName { get; }
|
||||
/// <summary>
|
||||
/// the AggregateStatusColor bar color
|
||||
/// </summary>
|
||||
public Color ProgressBarColor { get; set; }
|
||||
|
||||
public bool SetPercentage{ get; set; } = false;
|
||||
/// <summary>
|
||||
/// progress bar percentage to set (1-100)
|
||||
/// </summary>
|
||||
public double ProgressBarPercentage { get; set; }
|
||||
|
||||
public bool SetText{ get; set; } = false;
|
||||
/// <summary>
|
||||
/// the Aggregate status text to set on the progress bar
|
||||
/// </summary>
|
||||
public string ProgressBarText { get; set; }
|
||||
|
||||
public bool SetVisibility { get; set; } = false;
|
||||
/// <summary>
|
||||
/// the visibility for the progress bar
|
||||
/// </summary>
|
||||
public Visibility ProgressBarVisibility { get; set; }
|
||||
|
||||
public ProgressBarEventArg(string name, Color color, Visibility visibility=Visibility.Visible, double percentage = double.NaN, string text = null)
|
||||
{
|
||||
ProgressBarName = name;
|
||||
ProgressBarColor = color;
|
||||
ProgressBarPercentage = percentage;
|
||||
ProgressBarText = text;
|
||||
ProgressBarVisibility = visibility;
|
||||
}
|
||||
|
||||
public ProgressBarEventArg()
|
||||
{
|
||||
ProgressBarName = "Footer";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user