Changeset 1176 for Scheduling/trunk/cs/bsdx0200GUISourceCode/Printing.cs
- Timestamp:
- May 11, 2011, 7:41:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/Printing.cs
r1159 r1176 194 194 sfCenter.Alignment = StringAlignment.Center; //for title & header 195 195 196 //string s = "Appointment Reminder Slip";197 196 s = strings.ApptReminderSlip; 198 197 g.DrawString(s, fTitle, Brushes.Black, printArea, sfCenter); //title … … 229 228 sb.AppendLine(strings.ID + ":" + "\t" + appt.Patient.ID); 230 229 sb.AppendLine(); 231 sb.AppendLine(strings.DOB + ":" + "\t" + appt.Patient.DOB.ToShortDateString()); 230 s = appt.Patient.DOB.ToString("dd") + " " + appt.Patient.DOB.ToString("MMM") + ", " + appt.Patient.DOB.Year; 231 sb.AppendLine(strings.DOB + ":" + "\t" + s); 232 232 sb.AppendLine(); 233 233 sb.AppendLine(strings.Age + ":" + "\t" + appt.Patient.UserFriendlyAge); … … 257 257 sb.AppendLine(strings.Clinic + ":" + "\t" + appt.Resource); 258 258 sb.AppendLine(); 259 sb.AppendLine(strings.Date + ":" + "\t" + appt.StartTime.ToShortDateString()); 259 s = appt.StartTime.ToString("dd") + " " + appt.StartTime.ToString("MMM") + ", " + appt.StartTime.Year; 260 sb.AppendLine(strings.Date + ":" + "\t" + s); 260 261 sb.AppendLine(); 261 262 sb.AppendLine(strings.Day + ":" + "\t" + appt.StartTime.ToString("dddd")); … … 641 642 sb.AppendLine(strings.ID + ":" + "\t" + appt.Patient.ID); 642 643 sb.AppendLine(); 643 sb.AppendLine(strings.DOB + ":" + "\t" + appt.Patient.DOB.ToShortDateString()); 644 s = appt.Patient.DOB.ToString("dd") + " " + appt.Patient.DOB.ToString("MMM") + ", " + appt.Patient.DOB.Year; 645 sb.AppendLine(strings.DOB + ":" + "\t" + s); 644 646 sb.AppendLine(); 645 647 sb.AppendLine(strings.Age + ":" + "\t" + appt.Patient.UserFriendlyAge);
Note:
See TracChangeset
for help on using the changeset viewer.