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

Diff of /trunk/xmltv_parser/ProgramEntryControl.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 147 by william, Thu Mar 14 15:23:09 2013 UTC revision 148 by william, Thu Mar 14 15:24:51 2013 UTC
# Line 32  namespace xmltv_parser Line 32  namespace xmltv_parser
32              DateTime stop = DateTime.Parse(this.program.Stop);              DateTime stop = DateTime.Parse(this.program.Stop);
33              TimeSpan length = (stop - start);              TimeSpan length = (stop - start);
34              //string channel = string.Format("{0}:{1}", this.program.ChannelNumber, this.program.ChannelName);              //string channel = string.Format("{0}:{1}", this.program.ChannelNumber, this.program.ChannelName);
35              //string runtime = string.Format(" {0}min", length.TotalMinutes);              string runtime = string.Format("{0}min", length.TotalMinutes);
36              //txtProgramAirTime.Text = string.Format("{0}{1}{2}", start.ToString("hh:mm tt (dddd dd/yyyy)"), channel, runtime);              //txtProgramAirTime.Text = string.Format("{0}{1}{2}", start.ToString("hh:mm tt (dddd dd/yyyy)"), channel, runtime);
37    
38              txtProgramTitle.Text = string.Format("{0}: {1}", this.program.Title, this.program.SubTitle);              txtProgramTitle.Text = string.Format("{0}: {1}", this.program.Title, this.program.SubTitle);
39              txtProgramDescription.Text = string.Format("    {0}", this.program.Description);              txtProgramDescription.Text = string.Format("    {0}", this.program.Description);
40              txtProgramAirTime.Text = string.Format("        Airs: {0} at {1} on channel: {2} ({3})", start.ToString("dddd (MM/dd/yyyy)"), start.ToString("hh:mm tt"), this.program.ChannelNumber, this.program.ChannelName);              txtProgramAirTime.Text = string.Format("        Airs: {0} at {1} on channel: {2} ({3}) ({4})", start.ToString("dddd (MM/dd/yyyy)"), start.ToString("hh:mm tt"), this.program.ChannelNumber, this.program.ChannelName, runtime);
41          }          }
42    
43          private void ProgramEntryControl_Load(object sender, EventArgs e)          private void ProgramEntryControl_Load(object sender, EventArgs e)

Legend:
Removed from v.147  
changed lines
  Added in v.148

  ViewVC Help
Powered by ViewVC 1.1.22