Changeset 886 for Scheduling/trunk/cs


Ignore:
Timestamp:
Jul 18, 2010, 9:42:17 AM (14 years ago)
Author:
Sam Habiel
Message:

V 1.3 exe and dll, now open for testing.

Location:
Scheduling/trunk/cs/bsdx0200GUISourceCode
Files:
6 edited

Legend:

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

    r868 r886  
    655655                /// Calculates StartDay and End Day and returns them in output params. 
    656656                /// nWeeks == number of Weeks to display
    657                 /// nColumnCount is number of days displayed per week.  If 5 columns, begin on
    658                 /// Monday, if 7 Columns, begin on Sunday
     657                /// nColumnCount is number of days displayed per week. 
     658        /// If 5 columns, begin on Second Day of Week
     659                /// If 7 Columns, begin on First Day of Week
     660        /// (this is a change from the hardcoded behavior for US-based calendars)
    659661                ///
    660662                /// Returns TRUE if the document's data needs refreshing based on
     
    666668                        DateTime OldStartDay = m_dStartDate;
    667669                        DateTime OldEndDay = m_dEndDate;
     670            // Week start based on machine locale
    668671            int nStartWeekDay = (int)System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
    669672            int nWeekDay = (int) SelectedDate.DayOfWeek; //0 == Sunday
    670673
    671                         int nOff = (nStartWeekDay + 1) % 7;
     674                        // this offset gets approrpriate day based on locale.
     675            int nOff = (nStartWeekDay + 1) % 7;
    672676                        TimeSpan ts = new TimeSpan(nWeekDay - nOff,0,0,0); //d,h,m,s
    673677
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj

    r884 r886  
    6767    <ConfigurationOverrideFile>
    6868    </ConfigurationOverrideFile>
    69     <DefineConstants>TRACE;DEBUG</DefineConstants>
     69    <DefineConstants>DEBUG</DefineConstants>
    7070    <DocumentationFile>bin\Release\ClinicalScheduling.XML</DocumentationFile>
    7171    <DebugSymbols>false</DebugSymbols>
     
    9090    <ConfigurationOverrideFile>
    9191    </ConfigurationOverrideFile>
    92     <DefineConstants>TRACE;DEBUG</DefineConstants>
     92    <DefineConstants>
     93    </DefineConstants>
    9394    <DocumentationFile>bin\Release\ClinicalScheduling.XML</DocumentationFile>
    9495    <DebugSymbols>false</DebugSymbols>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DCheckIn.cs

    r821 r886  
    239239                cboProvider.SelectedIndex = nFind;
    240240
    241                 //an experiment: LINQ
     241                //an experiment (doesn't work yet, but leaving for future enlightenment): LINQ
    242242                var defProv = from Provider in m_dtProvider.AsEnumerable()
    243243                              where
Note: See TracChangeset for help on using the changeset viewer.