ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/xmltv_parser/ProgramEntryControl.cs
(Generate patch)

Comparing trunk/xmltv_parser/ProgramEntryControl.cs (file contents):
Revision 147 by william, Thu Mar 14 15:23:09 2013 UTC vs.
Revision 148 by william, Thu Mar 14 15:24:51 2013 UTC

# Line 32 | Line 32 | namespace xmltv_parser
32              DateTime stop = DateTime.Parse(this.program.Stop);
33              TimeSpan length = (stop - start);
34              //string channel = string.Format("{0}:{1}", this.program.ChannelNumber, this.program.ChannelName);
35 <            //string runtime = string.Format(" {0}min", length.TotalMinutes);
35 >            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);
37  
38              txtProgramTitle.Text = string.Format("{0}: {1}", this.program.Title, this.program.SubTitle);
39              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);
40 >            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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines