/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/xmltv_parser/Form1.cs revision 2 by william, Thu Mar 7 05:26:47 2013 UTC trunk/xmltv_parser/main.cs revision 16 by william, Thu Mar 7 09:26:43 2013 UTC
# Line 5  using System.Data; Line 5  using System.Data;
5  using System.Drawing;  using System.Drawing;
6  using System.Text;  using System.Text;
7  using System.Windows.Forms;  using System.Windows.Forms;
8    using libxmltv.Core;
9    using Enterprise.Logging;
10    
11  namespace xmltv_parser  namespace xmltv_parser
12  {  {
13      public partial class Form1 : Form      public partial class main : Form
14      {      {
15          public Form1()          public main()
16          {          {
17              InitializeComponent();              InitializeComponent();
18                string log_path = Application.StartupPath;
19                string log_filename = string.Format("{0}.log", typeof(main).Assembly.GetName().Name);
20                gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);            
21            }
22    
23            private void main_Load(object sender, EventArgs e)
24            {
25    
26            }
27            private void main_Shown(object sender, EventArgs e)
28            {
29                gLog.Log.Debug.WriteLine("");
30                var xmltv = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
31                //XMLTV.Test(xmltv);
32          }          }
33      }      }
34  }  }

Legend:
Removed from v.2  
changed lines
  Added in v.16

  ViewVC Help
Powered by ViewVC 1.1.22