/[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

revision 16 by william, Thu Mar 7 09:26:43 2013 UTC revision 28 by william, Thu Mar 7 12:51:53 2013 UTC
# Line 17  namespace xmltv_parser Line 17  namespace xmltv_parser
17              InitializeComponent();              InitializeComponent();
18              string log_path = Application.StartupPath;              string log_path = Application.StartupPath;
19              string log_filename = string.Format("{0}.log", typeof(main).Assembly.GetName().Name);              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);                          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)          private void main_Load(object sender, EventArgs e)
# Line 26  namespace xmltv_parser Line 26  namespace xmltv_parser
26          }          }
27          private void main_Shown(object sender, EventArgs e)          private void main_Shown(object sender, EventArgs e)
28          {          {
29              gLog.Log.Debug.WriteLine("");              var xmltv_loader = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
30              var xmltv = XMLTV.CreateLoader("20130307_continuum_schedule.xml");              var xmltv_parser = XMLTV.CreateParser(xmltv_loader);
31              //XMLTV.Test(xmltv);              var p = XMLTV.GetParser(xmltv_parser);
32                //p.TestParse()            
33          }          }
34      }      }
35  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.22