summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-07-08 19:46:03 +0000
committersr55 <[email protected]>2007-07-08 19:46:03 +0000
commit978740968f3e369f4072752c7a3432c7dfdef335 (patch)
tree84d7b2cb31465a2b3fbbc0e7dbfa52a2f99e4f74 /win
parent3e669fc96e687340cc17ecd8d0894457905f9cfe (diff)
WinGui:
- Latest C# code git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@659 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/HandBrakeCS.suobin31744 -> 32256 bytes
-rw-r--r--win/C#/frmReadDVD.cs13
2 files changed, 8 insertions, 5 deletions
diff --git a/win/C#/HandBrakeCS.suo b/win/C#/HandBrakeCS.suo
index 39b870b7d..7c13520b0 100644
--- a/win/C#/HandBrakeCS.suo
+++ b/win/C#/HandBrakeCS.suo
Binary files differ
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs
index d861e8ead..ca70a6ba1 100644
--- a/win/C#/frmReadDVD.cs
+++ b/win/C#/frmReadDVD.cs
@@ -32,18 +32,21 @@ namespace Handbrake
hbProc.StartInfo.FileName = "hbcli.exe";
hbProc.StartInfo.RedirectStandardOutput = true;
hbProc.StartInfo.RedirectStandardError = true;
- hbProc.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
- hbProc.StartInfo.StandardErrorEncoding = System.Text.Encoding.UTF8;
+ //hbProc.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
+ //hbProc.StartInfo.StandardErrorEncoding = System.Text.Encoding.UTF8;
hbProc.StartInfo.Arguments = query;
hbProc.StartInfo.UseShellExecute = false;
hbProc.Start();
+ rtf_dvdInfo.Text = "-- Start --";
while (hbProc.StandardOutput.BaseStream.CanRead && !hbProc.HasExited)
{
- MessageBox.Show(hbProc.StandardOutput.ReadLine());
- MessageBox.Show(hbProc.StandardError.ReadLine());
- Console.Read();
+ rtf_dvdInfo.Text = rtf_dvdInfo.Text + "\n" + hbProc.StandardOutput.ReadLine();
+ rtf_dvdInfo.Text = rtf_dvdInfo.Text + "\n" + hbProc.StandardError.ReadLine();
+ MessageBox.Show("Test");
}
+
+ rtf_dvdInfo.Text = rtf_dvdInfo.Text + "\n" + "-- End --";
}
private void btn_ok_Click(object sender, EventArgs e)