From d869f096d1b32bf2561203551f5fc6d9dd4d18ad Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 21 Aug 2007 15:40:27 +0000 Subject: - 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 --- win/C#/frmMain.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'win/C#/frmMain.cs') 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); } -- cgit v1.2.3