From edc9bf98907f9f794443facc7ce9072ee27af08c Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 21 Aug 2013 16:07:48 +0000 Subject: WinGui: Initial work around around a when done countdown. When a queue finishes it will now popup a window giving the user 60 seconds to cancel the when done operation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5728 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/HandBrakeWPF.csproj | 13 +- .../HandBrakeWPF/Services/PrePostActionService.cs | 71 +++++++--- win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | 3 +- .../ViewModels/CountdownAlertViewModel.cs | 152 +++++++++++++++++++++ .../Interfaces/ICountdownAlertViewModel.cs | 30 ++++ win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 2 - win/CS/HandBrakeWPF/Views/CountdownAlertView.xaml | 39 ++++++ .../HandBrakeWPF/Views/CountdownAlertView.xaml.cs | 27 ++++ win/CS/HandBrakeWPF/Views/Images/Advanced.png | Bin 0 -> 1133 bytes 9 files changed, 312 insertions(+), 25 deletions(-) create mode 100644 win/CS/HandBrakeWPF/ViewModels/CountdownAlertViewModel.cs create mode 100644 win/CS/HandBrakeWPF/ViewModels/Interfaces/ICountdownAlertViewModel.cs create mode 100644 win/CS/HandBrakeWPF/Views/CountdownAlertView.xaml create mode 100644 win/CS/HandBrakeWPF/Views/CountdownAlertView.xaml.cs create mode 100644 win/CS/HandBrakeWPF/Views/Images/Advanced.png (limited to 'win/CS/HandBrakeWPF') diff --git a/win/CS/HandBrakeWPF/HandBrakeWPF.csproj b/win/CS/HandBrakeWPF/HandBrakeWPF.csproj index 1422d2d5a..331bbc331 100644 --- a/win/CS/HandBrakeWPF/HandBrakeWPF.csproj +++ b/win/CS/HandBrakeWPF/HandBrakeWPF.csproj @@ -133,6 +133,11 @@ + + + + CountdownAlertView.xaml + TimeSpanBox.xaml @@ -335,6 +340,10 @@ + + Designer + MSBuild:Compile + MSBuild:Compile Designer @@ -500,7 +509,9 @@ HandBrake.Server - + + +