Suppress compiler warnings

This commit is contained in:
Paddy Xu
2017-05-15 00:25:31 +03:00
parent a65ddce4cf
commit b210b03383
3 changed files with 5 additions and 9 deletions

View File

@@ -12,12 +12,14 @@ namespace QuickLook.Plugin.VideoViewer
/// </summary>
public partial class ViewerPanel : UserControl, IDisposable
{
private ContextObject _context;
private readonly ContextObject _context;
public ViewerPanel(ContextObject context)
{
InitializeComponent();
_context = context;
buttonPlayPause.MouseLeftButtonUp += TogglePlayPause;
mediaElement.PropertyChanged += ChangePlayPauseButton;