summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-07-25 17:49:59 +0000
committersr55 <[email protected]>2007-07-25 17:49:59 +0000
commitab7c2f4a291e410511c1904c1d56cc9a14682c3b (patch)
tree37e3d4b18652b791965803bd6e356ece594712ea /win/C#/frmMain.cs
parent2891cf2747c101e3e35819ca7bdc52be17e7eebf (diff)
WinGui:
- Splash screen added. (Bit of a hack but will work until such time it can be done properly) - Added temporary splash screen image. - Disbaled cancel button on frmReadDVD until such time it can be coded. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@731 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 794a571c6..e70994e7f 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -31,6 +31,9 @@ namespace Handbrake
public frmMain()
{
+
+ ThreadPool.QueueUserWorkItem(showSplash);
+ Thread.Sleep(3000);
InitializeComponent();
@@ -49,6 +52,13 @@ namespace Handbrake
loadUserDefaults();
}
+ public void showSplash(object sender)
+ {
+ Form splash = new frmSplashScreen();
+ splash.Show();
+ Thread.Sleep(3000);
+ splash.Close();
+ }
public void loadUserDefaults()
{
try
@@ -1383,6 +1393,7 @@ namespace Handbrake
return querySource+ queryDestination+ queryPictureSettings+ queryVideoSettings+ h264Settings+ queryAudioSettings+ queryAdvancedSettings+ verbose;
}
+
// This is the END of the road ------------------------------------------------------------------------------
}
} \ No newline at end of file