Ignore:
Timestamp:
Jan 17, 2011, 9:12:38 AM (13 years ago)
Author:
Sam Habiel
Message:

CalendarGrid:

  • Added PositionGrid from CGView
  • Added Delegates from other classes that contained just one line.

CGAppointmentChangedArgs & CGSelectionChangedArgs:

  • Changed to use automatic properties

CGAvailability:

File:
1 edited

Legend:

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

    r622 r1068  
    33    using System;
    44    /// <summary>
    5     /// This class was regenerated from Calendargrid.dll using Reflector.exe
    6     /// by Sam Habiel for WorldVista. The original source code is lost.
     5    /// Custom event args for CGAppointment events when changing appointments.
     6    /// More documentation when I totally understand it.
     7    /// I changed it to automatic properties.
    78    /// </summary>
    89    [Serializable]
    910    public class CGAppointmentChangedArgs : EventArgs
    1011    {
    11         private DateTime m_dEnd;
    12         private DateTime m_dStart;
    13         private int m_nAccessTypeID;
    14         private int m_nSlots;
    15         private CGAppointment m_pAppt;
    16         private string m_sOldResource;
    17         private string m_sResource;
     12        public int AccessTypeID {get; set;}
    1813
    19         public int AccessTypeID
    20         {
    21             get
    22             {
    23                 return this.m_nAccessTypeID;
    24             }
    25             set
    26             {
    27                 this.m_nAccessTypeID = value;
    28             }
    29         }
     14        public CGAppointment Appointment {get; set;}
    3015
    31         public CGAppointment Appointment
    32         {
    33             get
    34             {
    35                 return this.m_pAppt;
    36             }
    37             set
    38             {
    39                 this.m_pAppt = value;
    40             }
    41         }
     16        public DateTime EndTime {get; set;}
    4217
    43         public DateTime EndTime
    44         {
    45             get
    46             {
    47                 return this.m_dEnd;
    48             }
    49             set
    50             {
    51                 this.m_dEnd = value;
    52             }
    53         }
     18        public string OldResource {get; set;}
    5419
    55         public string OldResource
    56         {
    57             get
    58             {
    59                 return this.m_sOldResource;
    60             }
    61             set
    62             {
    63                 this.m_sOldResource = value;
    64             }
    65         }
     20        public string Resource {get; set;}
    6621
    67         public string Resource
    68         {
    69             get
    70             {
    71                 return this.m_sResource;
    72             }
    73             set
    74             {
    75                 this.m_sResource = value;
    76             }
    77         }
     22        public int Slots {get; set;}
    7823
    79         public int Slots
    80         {
    81             get
    82             {
    83                 return this.m_nSlots;
    84             }
    85             set
    86             {
    87                 this.m_nSlots = value;
    88             }
    89         }
    90 
    91         public DateTime StartTime
    92         {
    93             get
    94             {
    95                 return this.m_dStart;
    96             }
    97             set
    98             {
    99                 this.m_dStart = value;
    100             }
    101         }
     24        public DateTime StartTime {get; set;}
    10225    }
    10326}
Note: See TracChangeset for help on using the changeset viewer.