diff options
author | sr55 <[email protected]> | 2007-07-18 19:50:00 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-07-18 19:50:00 +0000 |
commit | 3aea9521c461a42e879958d88ba8ce8e6ee4d5ca (patch) | |
tree | ffda0356c0386638d2b8fc773a3d7061966611eb /win/C#/frmReadDVD.cs | |
parent | b36c2befd3795caf8b54fabec67d071a5ccfd74f (diff) |
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
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r-- | win/C#/frmReadDVD.cs | 9 |
1 files changed, 5 insertions, 4 deletions
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() + "%";
}
}
|