Ignore:
Timestamp:
May 11, 2011, 7:41:51 AM (13 years ago)
Author:
Sam Habiel
Message:

V 1.6 Beta Release

AssemblyInfo.cs: version bumped up to 1.6
CGView:

  1. Changed Popup calendar menu enable/disable code for specific menu items (simplification)
  2. Bug fixed in AddAppointmentEnabled(): Checks to see if there are any slots using the new algorithm introduced in v 1.5
  3. Resequence order of Saving/Canceling Radiology Package Call with Saving/Cancelling Appointment. Saving Cancelling appointment comes first because it may fail and thus cancel the whole transaction.
  4. BMX Events will now be raised after making/cancelling a radiology appointment.
  5. Better exception handling for making Radiology Appointments in AppointmentAddNewRadiology().

strings.ar.resx:
Fixed a mispelling.

Printing:
Improved the display of dates for Appointment Slips.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/Printing.cs

    r1159 r1176  
    194194            sfCenter.Alignment = StringAlignment.Center; //for title & header
    195195
    196             //string s = "Appointment Reminder Slip";
    197196            s = strings.ApptReminderSlip;
    198197            g.DrawString(s, fTitle, Brushes.Black, printArea, sfCenter); //title
     
    229228            sb.AppendLine(strings.ID + ":" + "\t" + appt.Patient.ID);
    230229            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);
    232232            sb.AppendLine();
    233233            sb.AppendLine(strings.Age + ":" + "\t" + appt.Patient.UserFriendlyAge);
     
    257257            sb.AppendLine(strings.Clinic + ":" + "\t" + appt.Resource);
    258258            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);
    260261            sb.AppendLine();
    261262            sb.AppendLine(strings.Day + ":" + "\t" + appt.StartTime.ToString("dddd"));
     
    641642            sb.AppendLine(strings.ID + ":" + "\t" + appt.Patient.ID);
    642643            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);
    644646            sb.AppendLine();
    645647            sb.AppendLine(strings.Age + ":" + "\t" + appt.Patient.UserFriendlyAge);
Note: See TracChangeset for help on using the changeset viewer.