diff --git a/Correlator/App.xaml.cs b/Correlator/App.xaml.cs index f348a94..352d34c 100644 --- a/Correlator/App.xaml.cs +++ b/Correlator/App.xaml.cs @@ -57,6 +57,7 @@ containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); + containerRegistry.RegisterDialog(); } } } \ No newline at end of file diff --git a/Correlator/App.xaml.cs b/Correlator/App.xaml.cs index f348a94..352d34c 100644 --- a/Correlator/App.xaml.cs +++ b/Correlator/App.xaml.cs @@ -57,6 +57,7 @@ containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); + containerRegistry.RegisterDialog(); } } } \ No newline at end of file diff --git a/Correlator/Converter/ListenStateConverter.cs b/Correlator/Converter/ListenStateConverter.cs new file mode 100644 index 0000000..876384f --- /dev/null +++ b/Correlator/Converter/ListenStateConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace Correlator.Converter +{ + public class ListenStateConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value == null) + { + return "Hidden"; + } + + if ((bool)value) + { + return "Visible"; + } + else + { + return "Hidden"; + } + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return null; + } + } +} \ No newline at end of file diff --git a/Correlator/App.xaml.cs b/Correlator/App.xaml.cs index f348a94..352d34c 100644 --- a/Correlator/App.xaml.cs +++ b/Correlator/App.xaml.cs @@ -57,6 +57,7 @@ containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); + containerRegistry.RegisterDialog(); } } } \ No newline at end of file diff --git a/Correlator/Converter/ListenStateConverter.cs b/Correlator/Converter/ListenStateConverter.cs new file mode 100644 index 0000000..876384f --- /dev/null +++ b/Correlator/Converter/ListenStateConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace Correlator.Converter +{ + public class ListenStateConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value == null) + { + return "Hidden"; + } + + if ((bool)value) + { + return "Visible"; + } + else + { + return "Hidden"; + } + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return null; + } + } +} \ No newline at end of file diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj index a0c7d81..ba8c748 100644 --- a/Correlator/Correlator.csproj +++ b/Correlator/Correlator.csproj @@ -194,6 +194,7 @@ + @@ -219,6 +220,9 @@ LoadingDialog.xaml + + SimplyAuditionDialog.xaml + SoundSpeedDialog.xaml @@ -266,6 +270,7 @@ + AudioFileView.xaml @@ -293,6 +298,7 @@ MSBuild:Compile + Designer diff --git a/Correlator/App.xaml.cs b/Correlator/App.xaml.cs index f348a94..352d34c 100644 --- a/Correlator/App.xaml.cs +++ b/Correlator/App.xaml.cs @@ -57,6 +57,7 @@ containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); containerRegistry.RegisterDialog(); + containerRegistry.RegisterDialog(); } } } \ No newline at end of file diff --git a/Correlator/Converter/ListenStateConverter.cs b/Correlator/Converter/ListenStateConverter.cs new file mode 100644 index 0000000..876384f --- /dev/null +++ b/Correlator/Converter/ListenStateConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace Correlator.Converter +{ + public class ListenStateConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value == null) + { + return "Hidden"; + } + + if ((bool)value) + { + return "Visible"; + } + else + { + return "Hidden"; + } + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return null; + } + } +} \ No newline at end of file diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj index a0c7d81..ba8c748 100644 --- a/Correlator/Correlator.csproj +++ b/Correlator/Correlator.csproj @@ -194,6 +194,7 @@ + @@ -219,6 +220,9 @@ LoadingDialog.xaml + + SimplyAuditionDialog.xaml + SoundSpeedDialog.xaml @@ -266,6 +270,7 @@ + AudioFileView.xaml @@ -293,6 +298,7 @@ MSBuild:Compile + Designer diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml new file mode 100644 index 0000000..0438fb0 --- /dev/null +++ b/Correlator/Dialog/SimplyAuditionDialog.xaml @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +