diff options
author | sr55 <[email protected]> | 2007-07-23 22:57:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-07-23 22:57:48 +0000 |
commit | 1c35c63291746d666f8b3c31e817154770163427 (patch) | |
tree | ec1e6ef184032849794ef16aa6104fa489b825fc /win/C#/frmReadDVD.cs | |
parent | 65b6563124572dc4e37bd7b538e9fc61db403dae (diff) |
WinGui:
- Fixed one cross-threading bug with a dirty hack. This will need to be sorted out properly later.
- Added cancel button place holder on frmReadDVD. (will be used for instances where hbcli stalls or crashes)
- Fixed a few Design issues with windows appearing with the wrong dimensions.
- Updated some comments about bugs that need fixed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@723 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r-- | win/C#/frmReadDVD.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs index 231064f66..6c73291e5 100644 --- a/win/C#/frmReadDVD.cs +++ b/win/C#/frmReadDVD.cs @@ -32,6 +32,7 @@ namespace Handbrake private void btn_ok_Click(object sender, EventArgs e)
{
btn_ok.Enabled = false;
+ btn_skip.Visible = true;
lbl_pressOk.Visible = false;
lbl_progress.Text = "0%";
lbl_progress.Visible = true;
@@ -68,7 +69,8 @@ namespace Handbrake readData.OnReadLine += dvdInfo.HandleParsedData;
readData.OnReadToEnd += dvdInfo.HandleParsedData;
hbProc.Close();
-
+ hbProc.Dispose();
+
// Setup the parser
thisDvd = Parsing.DVD.Parse(readData);
@@ -90,5 +92,13 @@ namespace Handbrake this.lbl_progress.Text = progress.ToString() + "%";
}
+ private void btn_skip_Click(object sender, EventArgs e)
+ {
+ // TODO *****************************************************************
+ // This needs to be implimented so that is destroys the above thread
+ // closing hbcli with it.
+ //***********************************************************************
+ }
+
}
}
\ No newline at end of file |