From 3aea9521c461a42e879958d88ba8ce8e6ee4d5ca Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 18 Jul 2007 19:50:00 +0000 Subject: WinGui: - Changed the progress bar on frmReadDVD to a text value. Progress bar wasn't really needed here. - Few design tweaks to the frmReadDVD window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@713 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmReadDVD.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'win/C#/frmReadDVD.cs') diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs index c8103c348..f288201e2 100644 --- a/win/C#/frmReadDVD.cs +++ b/win/C#/frmReadDVD.cs @@ -34,8 +34,9 @@ namespace Handbrake { btn_ok.Enabled = false; lbl_pressOk.Visible = false; - scanProgress.Value = 0; - scanProgress.Visible = true; + lbl_progress.Text = "0%"; + lbl_progress.Visible = true; + lbl_status.Visible = true; // throw cli call and parsing on it's own thread ThreadPool.QueueUserWorkItem(startProc); } @@ -64,7 +65,7 @@ namespace Handbrake hbProc = process.runCli(this, query, true, true, false, true); Parsing.Parser readData = new Parsing.Parser(hbProc.StandardError.BaseStream); - //hbProc.WaitForExit(); + hbProc.WaitForExit(); hbProc.Close(); // Setup the parser @@ -85,7 +86,7 @@ namespace Handbrake { progress = 100; } - this.scanProgress.Value = progress; + this.lbl_progress.Text = progress.ToString() + "%"; } } -- cgit v1.2.3