summaryrefslogtreecommitdiffstats
path: root/win/C#/frmReadDVD.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-07-15 14:52:42 +0000
committersr55 <[email protected]>2007-07-15 14:52:42 +0000
commit33d6ae36a4859fbc46e730e4e7630acf2db264e1 (patch)
tree0a436ddd93da6357629acd2ab49b61d2ca5bceed /win/C#/frmReadDVD.cs
parent264eb1a4eaa4b91e1d365c9fca947b2b06fe52ef (diff)
- Audio and Subtitle down-downs now populated on DVD Title selection.
- Verbose bug fixed in GenerateQuery() - Setup frmDvdInfo ready to be populated with plain text output from handbrake. - Removed the EncodeOutput window. This can wait till another version. - A few other small changes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@688 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r--win/C#/frmReadDVD.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs
index 070cb5421..04a47029b 100644
--- a/win/C#/frmReadDVD.cs
+++ b/win/C#/frmReadDVD.cs
@@ -15,14 +15,16 @@ namespace Handbrake
{
private string inputFile;
private frmMain mainWindow;
+ private frmDvdInfo dvdInfo;
private Parsing.DVD thisDvd;
private delegate void UpdateUIHandler();
- public frmReadDVD(string inputFile, frmMain parent)
+ public frmReadDVD(string inputFile, frmMain parent, frmDvdInfo dvdInfoWindow)
{
InitializeComponent();
this.inputFile = inputFile;
this.mainWindow = parent;
+ this.dvdInfo = dvdInfoWindow;
}
private void btn_ok_Click(object sender, EventArgs e)
@@ -46,6 +48,11 @@ namespace Handbrake
mainWindow.drp_dvdtitle.Items.Clear();
mainWindow.drp_dvdtitle.Items.AddRange(thisDvd.Titles.ToArray());
+
+ // Just a quick test to see if data can be pushed to frmDvdInfo.
+ // What needs to happen here is the plaintext outout needs to be sent to the frmDvdInfo.
+ dvdInfo.rtf_dvdInfo.Text = thisDvd.ToString();
+
this.Close();
}
@@ -70,5 +77,6 @@ namespace Handbrake
updateUIElements();
}
+
}
} \ No newline at end of file