summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-10-30 20:18:45 +0000
committersr55 <[email protected]>2016-10-30 20:18:45 +0000
commit5cc2fbbca69eaac36d85d63b09cc3af39cee2cf2 (patch)
treeb27c7cb02e6678fe85ef6f1f78b1ed4414572669 /win/CS/HandBrakeWPF/Views
parent2c2947ac86ffbf4f5fa9111847ac31efd75c7d05 (diff)
WinGui: Fix a large number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml.cs9
-rw-r--r--win/CS/HandBrakeWPF/Views/MetaDataView.xaml.cs29
2 files changed, 23 insertions, 15 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs
index 53381b749..636705b65 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs
@@ -53,6 +53,15 @@ namespace HandBrakeWPF.Views
}
}
+ /// <summary>
+ /// Add to Queue button context menu handling.
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
private void AddToQueue_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
// If we've clicked the dropdown part of the button, display the context menu below the button.
diff --git a/win/CS/HandBrakeWPF/Views/MetaDataView.xaml.cs b/win/CS/HandBrakeWPF/Views/MetaDataView.xaml.cs
index 467f6b8a8..608a547cb 100644
--- a/win/CS/HandBrakeWPF/Views/MetaDataView.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/MetaDataView.xaml.cs
@@ -1,28 +1,27 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="MetaDataView.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 MetaDataView.xaml
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Views
{
+ using System.Windows.Controls;
+
/// <summary>
/// Interaction logic for MetaDataView.xaml
/// </summary>
public partial class MetaDataView : UserControl
{
+ /// <summary>
+ /// Initializes a new instance of the <see cref="MetaDataView"/> class.
+ /// </summary>
public MetaDataView()
{
- InitializeComponent();
+ this.InitializeComponent();
}
}
}