Changeset 886 for Scheduling/trunk/cs/bsdx0200GUISourceCode
- Timestamp:
- Jul 18, 2010, 9:42:17 AM (14 years ago)
- Location:
- Scheduling/trunk/cs/bsdx0200GUISourceCode
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocument.cs
r868 r886 655 655 /// Calculates StartDay and End Day and returns them in output params. 656 656 /// 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) 659 661 /// 660 662 /// Returns TRUE if the document's data needs refreshing based on … … 666 668 DateTime OldStartDay = m_dStartDate; 667 669 DateTime OldEndDay = m_dEndDate; 670 // Week start based on machine locale 668 671 int nStartWeekDay = (int)System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek; 669 672 int nWeekDay = (int) SelectedDate.DayOfWeek; //0 == Sunday 670 673 671 int nOff = (nStartWeekDay + 1) % 7; 674 // this offset gets approrpriate day based on locale. 675 int nOff = (nStartWeekDay + 1) % 7; 672 676 TimeSpan ts = new TimeSpan(nWeekDay - nOff,0,0,0); //d,h,m,s 673 677 -
Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj
r884 r886 67 67 <ConfigurationOverrideFile> 68 68 </ConfigurationOverrideFile> 69 <DefineConstants> TRACE;DEBUG</DefineConstants>69 <DefineConstants>DEBUG</DefineConstants> 70 70 <DocumentationFile>bin\Release\ClinicalScheduling.XML</DocumentationFile> 71 71 <DebugSymbols>false</DebugSymbols> … … 90 90 <ConfigurationOverrideFile> 91 91 </ConfigurationOverrideFile> 92 <DefineConstants>TRACE;DEBUG</DefineConstants> 92 <DefineConstants> 93 </DefineConstants> 93 94 <DocumentationFile>bin\Release\ClinicalScheduling.XML</DocumentationFile> 94 95 <DebugSymbols>false</DebugSymbols> -
Scheduling/trunk/cs/bsdx0200GUISourceCode/DCheckIn.cs
r821 r886 239 239 cboProvider.SelectedIndex = nFind; 240 240 241 //an experiment : LINQ241 //an experiment (doesn't work yet, but leaving for future enlightenment): LINQ 242 242 var defProv = from Provider in m_dtProvider.AsEnumerable() 243 243 where
Note:
See TracChangeset
for help on using the changeset viewer.