diff options
author | sr55 <[email protected]> | 2013-11-19 22:54:16 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-11-19 22:54:16 +0000 |
commit | c32a46c925608e51be9edcd6b5647c50124dd16a (patch) | |
tree | fcd2cb8c04f326d07145117bbc03f130d1170b60 /win/CS/HandBrakeWPF/Views/VideoView.xaml.cs | |
parent | 5e4d8c7244a85fafa7ae477f8378a0c56e7ba365 (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/VideoView.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/VideoView.xaml.cs | 42 |
1 files changed, 27 insertions, 15 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;
|