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); |
20 |
> |
gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All); |
21 |
|
} |
22 |
|
|
23 |
< |
private void Form1_Load(object sender, EventArgs e) |
23 |
> |
private void main_Load(object sender, EventArgs e) |
24 |
|
{ |
25 |
|
|
26 |
|
} |
27 |
< |
private void Form1_Shown(object sender, EventArgs e) |
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 |
|
} |