diff options
author | sr55 <[email protected]> | 2011-08-15 13:05:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-08-15 13:05:50 +0000 |
commit | bb6b6007ea2111cac17ff5fff2f2105bb5b7e6e9 (patch) | |
tree | e952bee01b33c5bbb7dc600f724dcc10d25ad6aa /win/CS/frmQueue.cs | |
parent | 689e8917e82cae5d68341f5d618dba050ddfc0b9 (diff) |
WinGui: Clear all option on the queue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4173 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmQueue.cs')
-rw-r--r-- | win/CS/frmQueue.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/win/CS/frmQueue.cs b/win/CS/frmQueue.cs index bd86f18f2..04cb91276 100644 --- a/win/CS/frmQueue.cs +++ b/win/CS/frmQueue.cs @@ -532,6 +532,26 @@ namespace Handbrake DeleteSelectedItems();
}
+ /// <summary>
+ /// Clear down the Queue
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The EventArgs.
+ /// </param>
+ private void mnuClearAll_Click(object sender, EventArgs e)
+ {
+ DialogResult result = MessageBox.Show(
+ "Are you sure you wish to clear down the queue?",
+ "Clear the Queue", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+ if (result == DialogResult.Yes)
+ {
+ queue.QueueManager.Clear();
+ }
+ }
+
/* Keyboard Shortcuts */
/// <summary>
|