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

Contents of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13 - (show annotations) (download)
Thu Mar 7 07:58:47 2013 UTC (6 years, 6 months ago) by william
File size: 989 byte(s)

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.Initialize(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);
21 //gLog.Info.WriteLine("main");
22 }
23
24 private void Form1_Load(object sender, EventArgs e)
25 {
26
27 }
28 private void Form1_Shown(object sender, EventArgs e)
29 {
30 var xmltv = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
31 //XMLTV.Test(xmltv);
32 }
33
34
35 }
36 }

  ViewVC Help
Powered by ViewVC 1.1.22