summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQueue.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-07-04 14:24:59 +0000
committersr55 <[email protected]>2009-07-04 14:24:59 +0000
commitbdf19259ac2d6ac94abf0fad38ce6c98e3e58460 (patch)
tree3b92fa3d9ef24eeb3e71a45574b1c7f96d720558 /win/C#/frmQueue.cs
parentf3ea70992ab591a46754f68f5b7b02ca9d0529cc (diff)
WinGui:
- Update checker code cleaned up and multi-threaded. (Thanks to darkassassin ) Made some minor changes to this code to fit it in. http://forum.handbrake.fr/viewtopic.php?f=4&t=11353 - Queue window no longer takes focus on each new addition to the queue. ( Quite annoying otherwise ) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2661 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r--win/C#/frmQueue.cs17
1 files changed, 9 insertions, 8 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index 13c0e1f3e..c7b280ef3 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -22,21 +22,21 @@ namespace Handbrake
InitializeComponent();
this.queue = q;
- queue.OnEncodeStart += new EventHandler(queue_OnEncodeStart);
- queue.OnQueueFinished += new EventHandler(queue_OnQueueFinished);
- queue.OnPaused += new EventHandler(queue_OnPaused);
+ queue.OnEncodeStart += new EventHandler(queueOnEncodeStart);
+ queue.OnQueueFinished += new EventHandler(queueOnQueueFinished);
+ queue.OnPaused += new EventHandler(queueOnPaused);
}
- void queue_OnPaused(object sender, EventArgs e)
+ void queueOnPaused(object sender, EventArgs e)
{
setUIEncodeFinished();
updateUIElements();
}
- void queue_OnQueueFinished(object sender, EventArgs e)
+ void queueOnQueueFinished(object sender, EventArgs e)
{
setUIEncodeFinished();
resetQueue(); // Reset the Queue Window
}
- void queue_OnEncodeStart(object sender, EventArgs e)
+ void queueOnEncodeStart(object sender, EventArgs e)
{
setUIEncodeStarted(); // make sure the UI is set correctly
setCurrentEncodeInformation();
@@ -56,7 +56,7 @@ namespace Handbrake
/// </summary>
public new void Show()
{
- Show(true);
+ Show(true);
}
/// <summary>
@@ -67,7 +67,8 @@ namespace Handbrake
{
if (doSetQueue) setQueue();
base.Show();
- Activate();
+
+ //Activate();
}
// Start and Stop Controls