/[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 12 by william, Thu Mar 7 05:48:51 2013 UTC trunk/xmltv_parser/main.cs revision 13 by william, Thu Mar 7 07:58:47 2013 UTC
# Line 6  using System.Drawing; Line 6  using System.Drawing;
6  using System.Text;  using System.Text;
7  using System.Windows.Forms;  using System.Windows.Forms;
8  using libxmltv.Core;  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.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)          private void Form1_Load(object sender, EventArgs e)

Legend:
Removed from v.12  
changed lines
  Added in v.13

  ViewVC Help
Powered by ViewVC 1.1.22