summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-08-21 15:40:27 +0000
committersr55 <[email protected]>2007-08-21 15:40:27 +0000
commitd869f096d1b32bf2561203551f5fc6d9dd4d18ad (patch)
tree63cf3a7d79c2347f354d62a67e9cb13a73c3115b /win/C#/frmMain.cs
parented681dc8384f8913baf4fdd6cf7b93d1acde5f41 (diff)
- Fixed Spelling typo (Thanks saintdev).
- Fixed File_Open not finding ts files. - Fixed Incorrect Version Number for update checker. - Fixed DVDTitle Dropdown displaying no title error when there was only 1 item in it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@848 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs12
1 files changed, 5 insertions, 7 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index fcafb5dcf..c70b71c9f 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -9,15 +9,17 @@ using System.Net;
using System.IO;
using System.Diagnostics;
using System.Threading;
-
+using System.Runtime.InteropServices;
namespace Handbrake
{
+
public partial class frmMain : Form
{
+
private Process hbProc;
private Parsing.DVD thisDVD;
-
+
// --------------------------------------------------------------
// Some windows that require only 1 instance.
// --------------------------------------------------------------
@@ -33,10 +35,6 @@ namespace Handbrake
public frmMain()
{
-
-
-
-
ThreadPool.QueueUserWorkItem(showSplash);
Thread.Sleep(3000);
@@ -1322,7 +1320,7 @@ namespace Handbrake
private void drp_dvdtitle_Click(object sender, EventArgs e)
{
- if (drp_dvdtitle.Items.Count == 1)
+ if (drp_dvdtitle.Items.Count == 0)
{
MessageBox.Show("There are no titles to select. Please scan the DVD by clicking the 'browse' button above before trying to select a title.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}