summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-11-19 22:54:16 +0000
committersr55 <[email protected]>2013-11-19 22:54:16 +0000
commitc32a46c925608e51be9edcd6b5647c50124dd16a (patch)
treefcd2cb8c04f326d07145117bbc03f130d1170b60 /win/CS/HandBrakeWPF/Views
parent5e4d8c7244a85fafa7ae477f8378a0c56e7ba365 (diff)
WinGui: Fix a large number of stylecop warnings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5900 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r--win/CS/HandBrakeWPF/Views/VideoView.xaml.cs42
-rw-r--r--win/CS/HandBrakeWPF/Views/X264View.xaml.cs10
2 files changed, 31 insertions, 21 deletions
diff --git a/win/CS/HandBrakeWPF/Views/VideoView.xaml.cs b/win/CS/HandBrakeWPF/Views/VideoView.xaml.cs
index e9d54d4ce..9f12972be 100644
--- a/win/CS/HandBrakeWPF/Views/VideoView.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/VideoView.xaml.cs
@@ -13,14 +13,9 @@ namespace HandBrakeWPF.Views
using System.Windows;
using System.Windows.Controls;
- using Caliburn.Micro;
-
using HandBrake.ApplicationServices.Model;
- using HandBrake.ApplicationServices.Utilities;
- using HandBrake.Interop.Model.Encoding;
using HandBrakeWPF.ViewModels;
- using HandBrakeWPF.ViewModels.Interfaces;
/// <summary>
/// Interaction logic for VideoView.xaml
@@ -35,22 +30,39 @@ namespace HandBrakeWPF.Views
InitializeComponent();
}
-
+ /// <summary>
+ /// The qsv_preset_radiobutton.
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
private void qsv_preset_radiobutton(object sender, System.Windows.RoutedEventArgs e)
{
qsv_preset_ValueChanged(sender, null);
}
+ /// <summary>
+ /// The qsv_preset_ value changed.
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
private void qsv_preset_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
{
- VideoViewModel mvm = ((VideoViewModel)this.DataContext);
- EncodeTask task = mvm.Task;
-
- string full_string = "";
-
- IDictionary<string, string> newOptions = new Dictionary<string, string>();
- string[] existingSegments = full_string.Split(':');
- foreach (string existingSegment in existingSegments)
+ VideoViewModel mvm = ((VideoViewModel)this.DataContext);
+ EncodeTask task = mvm.Task;
+
+ string full_string = string.Empty;
+
+ IDictionary<string, string> newOptions = new Dictionary<string, string>();
+ string[] existingSegments = full_string.Split(':');
+ foreach (string existingSegment in existingSegments)
{
string optionName = existingSegment;
string optionValue = string.Empty;
@@ -70,7 +82,7 @@ namespace HandBrakeWPF.Views
}
}
- full_string = "";
+ full_string = string.Empty;
foreach (KeyValuePair<string, string> entry in newOptions)
{
full_string += entry.Key;
diff --git a/win/CS/HandBrakeWPF/Views/X264View.xaml.cs b/win/CS/HandBrakeWPF/Views/X264View.xaml.cs
index 7c7f9bea3..42764bf5c 100644
--- a/win/CS/HandBrakeWPF/Views/X264View.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/X264View.xaml.cs
@@ -1,23 +1,21 @@
// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="AdvancedView.xaml.cs" company="HandBrake Project (http://handbrake.fr)">
+// <copyright file="X264View.xaml.cs" company="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
-// Interaction logic for AdvancedView.xaml
+// Interaction logic for X264View.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Views
{
- using System.Windows.Controls;
-
/// <summary>
/// Interaction logic for AdvancedView.xaml
/// </summary>
- public partial class X264View : UserControl
+ public partial class X264View
{
/// <summary>
- /// Initializes a new instance of the <see cref="AdvancedView"/> class.
+ /// Initializes a new instance of the <see cref="X264View"/> class.
/// </summary>
public X264View()
{