This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using System.ComponentModel;
using DTS.Common.Converters;
namespace DTS.Common.Enums
{
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
public enum IncludeOverwriteName
{
IncludedCheckBox,
OverwriteCheckBox,
ImportingTestSetupName
}
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
public enum ExportChoices
{
ExportType,
UnfilteredEUCheckBox,
FilteredEUCheckBox,
MVCheckBox,
ADCCheckBox
}
}

View File

@@ -0,0 +1,18 @@
using Microsoft.Practices.Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// Event to inform app that Automatic Mode status has changed
/// </summary>
/// <remarks>
///
/// </remarks>
public class AutomaticModeStatusEvent : CompositePresentationEvent<AutomaticModeStatusEventArgs> { }
public class AutomaticModeStatusEventArgs
{
public bool TextSet { get; set; } = false;
public string Text { get; set; } = string.Empty;
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Windows;
using System.Windows.Data;
namespace DTS.Common.Converters
{
public class InverseEnumVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return null != value && value.Equals(parameter) ? Visibility.Hidden : Visibility.Visible;
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return null != value && value.Equals(Visibility.Hidden) ? parameter : Binding.DoNothing;
}
}
}

View File

@@ -0,0 +1,11 @@
using System.ComponentModel;
// ReSharper disable CheckNamespace
namespace DTS.Common.Base
{
public interface IBasePropertyChanged : INotifyPropertyChanged
{
//void OnPropertyChanged(string propertyName = null);
//bool SetProperty<T>(ref T storage, T value, String propertyName = null);
void OnPropertyChanged(string propertyName);
}
}