Ignore:
Timestamp:
Mar 29, 2011, 5:38:18 AM (13 years ago)
Author:
Sam Habiel
Message:

CGAVDocument: Don't Update Grid. Leave that to CGAVView.
CGAVView: When updating grid, make a copy of appointments, and use the copy, so there won't be clashes when updating appointments in the background.
CGDocument: Minor Changes in AppointmentNoShow; New method AppointmentUndoCheckIn
CGDocumentManager: Resequenced load order b/c UserPreferences now talks to DB.
DAL: New Methods to save autoprint preferences; new delegate to enable some async stuff
DCheckIn & DAppointPage: _myCodeIsFiringIstheCheckBoxChangedEvent added to protect against firing event when setting checkbox in the code.
DPatientLetter: No changes.
UserPreferences: Now gets and saves user preferences from DB.

File:
1 edited

Legend:

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

    r1097 r1117  
    884884                        //TODO:  Create these components
    885885                        this.calendarGrid1.Resources = this.m_Document.Resources;
     886            this.calendarGrid1.Appointments = (CGAppointments)this.m_Document.m_AVBlocks.Clone();
    886887                        this.calendarGrid1.OnUpdateArrays();
    887888                        this.lblResource.Text = this.m_Document.DocName;
     
    10421043                         * Display dialog to collect:
    10431044                         * - Number of weeks to apply template
    1044                          * - Starting week Monday
     1045                         * - Starting week (application starts on Culture WeekStartDay of selected week)
    10451046                         * - Template path & filename
    10461047                         *
    1047                          * for each week,
    1048                          *      Delete all availability during that week
    1049                          *  apply the template
    10501048                         *
    10511049                         */
     
    15061504            dtStart = newStartDate;
    15071505            int nWeeksToApply = dlg.WeeksToApply;
    1508             DateTime dtEnd = dtStart.AddDays(6); // or 7?
     1506            DateTime dtEnd = dtStart.AddDays(6); // or 7? smh:: not 7 for sure.
    15091507
    15101508            string sResourceID = this.m_Document.ResourceID.ToString();
Note: See TracChangeset for help on using the changeset viewer.