Ignore:
Timestamp:
Jul 4, 2010, 1:25:13 AM (14 years ago)
Author:
Sam Habiel
Message:

Mostly commenting the code.

File:
1 edited

Legend:

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

    r614 r821  
    2727                public int                              m_nTimeUnits;
    2828                private string                  m_sDocName;
    29                 public ArrayList                m_sResourcesArray;
     29                public ArrayList                m_sResourcesArray; //keeps the resources
    3030                public ScheduleType             m_ScheduleType;
    3131                private DateTime                m_dSelectedDate; //Holds the user's selection from the dtpicker
     
    201201                                DataTable                       rAppointmentSchedule;
    202202
     203                //Nice to know that it gets set here!!!
    203204                                m_dLastRefresh = DateTime.Now;
    204205
    205206                                this.m_appointments.ClearAllAppointments();
    206207
     208                //  calls RPC to (presumably--not sure yet) get appointments
    207209                                rAppointmentSchedule = CGSchedLib.CreateAppointmentSchedule(m_DocManager, m_sResourcesArray, this.m_dStartDate, this.m_dEndDate);
    208                                 CGSchedLib.OutputArray(rAppointmentSchedule, "rAppointmentSchedule");
    209                                 foreach (DataRow r in rAppointmentSchedule.Rows)
     210                               
     211                // Datatable dumper into Debug Log (nice to know that this exists)
     212                CGSchedLib.OutputArray(rAppointmentSchedule, "rAppointmentSchedule");
     213                               
     214               
     215                foreach (DataRow r in rAppointmentSchedule.Rows)
    210216                                {
    211217                               
     
    279285                        //                      DateTime dDate = new DateTime(2001,12,05);  //Testing line
    280286                        DateTime dDate = DateTime.Today;
     287           
     288            //smh: Question: Where does bRet get used? It's a useless varaible so far.
    281289                        bool bRet = this.WeekNeedsRefresh(2,dDate, out this.m_dStartDate, out this.m_dEndDate);
    282290
Note: See TracChangeset for help on using the changeset viewer.