diff options
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>
|