Beispiel #1
0
        /// <summary>
        /// Copies this instance.
        /// </summary>
        /// <returns>A <see cref="Telerik.Windows.Controls.ScheduleView.IAppointment"/></returns>
        public IAppointment Copy()
        {
            var newDto = new LocationWorkHourDto();

            newDto.CopyFrom(this);
            return(newDto);
        }
 /// <summary>
 /// Copies this instance.
 /// </summary>
 /// <returns>A <see cref="Telerik.Windows.Controls.ScheduleView.IAppointment"/></returns>
 public IAppointment Copy()
 {
     var newDto = new LocationWorkHourDto ();
     newDto.CopyFrom ( this );
     return newDto;
 }
Beispiel #3
0
 /// <summary>
 /// Causes the object to enter editing mode.
 /// </summary>
 public void BeginEdit()
 {
     _cacheObject = new LocationWorkHourDto();
     _cacheObject.CopyFrom(this);
 }
 /// <summary>
 /// Causes the object to enter editing mode.
 /// </summary>
 public void BeginEdit()
 {
     _cacheObject = new LocationWorkHourDto ();
     _cacheObject.CopyFrom ( this );
 }