summaryrefslogtreecommitdiffstats
path: root/win/C#/frmActivityWindow.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-12-19 00:00:41 +0000
committersr55 <[email protected]>2009-12-19 00:00:41 +0000
commitee7dc8b072afd25fb0180f22658d4a772f2068b7 (patch)
tree42a1b44782541430c795037a97345bd63b4e0d97 /win/C#/frmActivityWindow.cs
parentce825a48b43c003f45ace85a2711925a695ffdf0 (diff)
WinGui:
- Shave ~0.5s of the application startup time by not initialising an XmlSerializer when it's not needed. This is quite expensive. - Make sure the Activity window is initialised before we try set it's title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3035 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmActivityWindow.cs')
-rw-r--r--win/C#/frmActivityWindow.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs
index 5f41c799b..9d004ffc7 100644
--- a/win/C#/frmActivityWindow.cs
+++ b/win/C#/frmActivityWindow.cs
@@ -28,14 +28,14 @@ namespace Handbrake
public frmActivityWindow(string mode)
{
+ InitializeComponent();
+
_kilLThread = false;
_position = 0;
if (mode == "scan")
SetScanMode();
else
SetEncodeMode();
-
- InitializeComponent();
}
private void NewActivityWindow_Load(object sender, EventArgs e)
{