From 978740968f3e369f4072752c7a3432c7dfdef335 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 8 Jul 2007 19:46:03 +0000 Subject: [PATCH] WinGui: - Latest C# code git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@659 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/HandBrakeCS.suo | Bin 31744 -> 32256 bytes win/C#/frmReadDVD.cs | 13 ++++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/win/C#/HandBrakeCS.suo b/win/C#/HandBrakeCS.suo index 39b870b7d38cf9839c92728e5dc3ce92634a4626..7c13520b02a9ea68d3db2110c35b8948ed95363e 100644 GIT binary patch delta 2727 zcmb6bYfO_@^xluJabE!ur0_-tjnx_mSx!% z;UvzPC37ZwF_)mdM^XyHyyQ>{4`a&B3WEG$g+!GxJ8I#PGED2>(Q}(=C0I>GxkF@- zbP+c>Kzd04v4a@!UmCDqr4vu7PEokTTVPn-A_%ynL|}Tvhw9s$F;Sk+BPATB9HG8C z8s(kZS4S`7Izr&6_-6{G+!YS~)&yk+Jf(+&sfW@EaW=|DndWg8%x1iu`m|wP!~id6 z`W=K=ZDr_gDoK>fo6vfjbed zep0UaeePbEfuw`EpcU=9QBJWQ17i(B8Jy4F3O9AjWiCA-mGJJ40+`bC`7!*Qe*j4d z)Mu@tx#ESK8VV=Sw2*90j=7&?DxfRk zsi|pci$Z9t<*2ll1 z{yhc=^$D=o7TXH*$`vrx6MN6)*TFTbiB`n5&T7ep6J=S@Ziy`+$)tljeew4nl$FKh zO{vhqQC}9VimRR3*JLh*NndR3M|u{2bx(N#yjBsLms&T*j1<2qKQ7Oao^%+n3X4Ws zN=2@CEHIV`cSek2Q*|(b$Apr~=XzBl*h_8Vbc3CO-l37PJUs@~>8fqPlBg)X z!lLXUKKykfwG-Eok{$m{G~2SFs$~S~+WXEn)^YSC)Hl^GeIIpvfbb#0M+hGyutxJK z;?oG{*?Qb%F8oZ|I49vRBs`0ll^HfbXwIo(l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KJ$sbLVW%5IuoOW%cDIIawJk44h;t1#G)6VRgFW~3L8tWzg8UjsqL!$J& zPG7u193tK%4ioPYZxbIA?+{0bapEX(jL?XgBKbb`KOjCN62wP@m^+?oPo!EQJ4yXB z#Kg1=nawtvkbjoaIhShB<7iXm^PMl?hYfagD#cp$8YN9mr&)b(k#$QrzHj*&-vn(? zRR@l=nX|j-f@;}%Vmb>bW>B>HJ5&T@jGHpF#QFq>S9Rgrw)waiw4-#B4P)(=;r17C zC76kyx@@@IA|ugWoi4JdgN3oHz$T2+vsZ*~?yccFOS43zMuc9GiI39?9z9uROQzRq zqqT~V*id`hGFTvTb^5`OD;EcA?U-u)1PO-=t_}V8vtt#;T2-9s^5H9M08i$amsa`~ z)4$2xmP~e|Wa7f63RGBkEx6t8ZmKajYi$n-JF)b|H>&1lO7WM8*|lWa{~J3=ZD^8e zQ^h~t@>eGxrBv>W^R)gwq2bty;iyw{Za&Oq@y9t`3AR{qJ>Q9unk*PQ>a}<`Re}F6 vpH5}ssoHs{=vLsCbF}!tDXw_Qm+TpTBGG11O426DzoN`Sic$|w^&I~T%C0&{ 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) -- 2.40.0