2 using System.Collections.Generic;
\r
3 using System.ComponentModel;
\r
5 using System.Drawing;
\r
7 using System.Windows.Forms;
\r
13 public partial class frmDvdInfo : Form
\r
16 /// This window should be used to display the RAW output of the handbrake CLI which is produced during the scan.
\r
20 InitializeComponent();
\r
21 this.rtf_dvdInfo.Text = string.Empty;
\r
24 private void btn_close_Click(object sender, EventArgs e)
\r
29 private void frmDvdInfo_Load(object sender, EventArgs e)
\r
31 this.rtf_dvdInfo.Text = string.Empty;
\r
35 private void readFile()
\r
39 string appPath = Application.StartupPath.ToString();
\r
40 appPath = appPath + "\\";
\r
41 StreamReader sr = new StreamReader(appPath + "dvdinfo.dat");
\r
43 string line = sr.ReadLine();
\r
45 while (line != null)
\r
47 this.rtf_dvdInfo.AppendText(line + System.Environment.NewLine);
\r
48 line = sr.ReadLine();
\r
54 // Don't do anything
\r