Ignore:
Timestamp:
Mar 29, 2011, 10:29:04 AM (13 years ago)
Author:
Sam Habiel
Message:

Several Fixes found in my own testing:

  • CalendarGrid needs to have StartDate as 12:00:00, otherwise a subtraction to calculate the column number of each availability doesn't work properly
  • CGDocument needs to have SelectedDate set otherwise when it refreshes, it uses the selected date and makes the screen suddenly blank.
  • DApptSearch needs to make date/times proper to send over to DB. CGSchedLib.CreateAvailabilitySchedule needs the startDate to be the beginning of the day and end date to be the end of the day. Now this is done.
  • Updated exes.
File:
1 edited

Legend:

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

    r1106 r1123  
    734734        }
    735735
     736        /// <summary>
     737        /// Translates a StartTime into a Cell, for coloring
     738        /// </summary>
     739        /// <param name="dDate"></param>
     740        /// <param name="nRow"></param>
     741        /// <param name="nCol"></param>
     742        /// <param name="bStartCell"></param>
     743        /// <param name="sResource"></param>
     744        /// <returns></returns>
    736745        public bool GetCellFromTime(DateTime dDate, ref int nRow, ref int nCol, bool bStartCell, string sResource)
    737746        {
     
    14211430            set
    14221431            {
    1423                 this.m_dtStart = value;
     1432                //this.m_dtStart = value;
     1433                this.m_dtStart = value.Date; // only date portion!!!//smh
    14241434            }
    14251435        }
Note: See TracChangeset for help on using the changeset viewer.