ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/xmltv_parser/main.cs
Revision: 25
Committed: Thu Mar 7 11:36:00 2013 UTC (10 years, 2 months ago) by william
File size: 1072 byte(s)
Log Message:

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.Data;
5 using System.Drawing;
6 using System.Text;
7 using System.Windows.Forms;
8 using libxmltv.Core;
9 using Enterprise.Logging;
10
11 namespace xmltv_parser
12 {
13 public partial class main : Form
14 {
15 public main()
16 {
17 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 var xmltv_loader = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
30 var xmltv_parser = XMLTV.CreateParser(xmltv_loader);
31 var p = XMLTV.GetParser(xmltv_parser);
32 //p.TestParse()
33
34 }
35 }
36 }