From 4e0db6ec1bfa440ef7f142e84ad064affbd64490 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 22 Oct 2011 21:26:28 +0000 Subject: WinGui: (WPF) Added backing properties for binding on the options window & some general tidy up of the code/comments. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4310 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs | 26 ++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs') diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs index e74722792..d294e311b 100644 --- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs @@ -1,7 +1,11 @@ -/* QueueViewModel.cs $ - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// The Preview View Model +// +// -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.ViewModels { @@ -12,8 +16,22 @@ namespace HandBrakeWPF.ViewModels /// public class QueueViewModel : ViewModelBase { + /// + /// Initializes a new instance of the class. + /// + /// + /// The window manager. + /// public QueueViewModel(IWindowManager windowManager) : base(windowManager) { } + + /// + /// Close this window. + /// + public void Close() + { + this.TryClose(); + } } } -- cgit v1.2.3