Exemple #1
0
        protected override void OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
        {
            base.OnMouseLeftButtonUp(e);

            if (_sentRepeatClick)
            {
                RepeatEnd.RaiseOnUIThread(this, new EventArgs());
            }

            StopTimer();
        }
Exemple #2
0
 private void CopyFrom(Recurrence data)
 {
     _type     = data._type;
     _day      = data._day;
     _week     = data._week;
     _month    = data._month;
     _year     = data._year;
     _end      = data._end;
     _endCount = data._endCount;
     _skip     = data._skip;
 }
Exemple #3
0
 protected Recurrence(SerializationInfo info, StreamingContext context)
 {
     _day      = info.GetString(AppointmentDatabase.RepeatDayAttribute);
     _end      = (RepeatEnd)info.GetByte(AppointmentDatabase.RepeatEndAttribute);
     _endCount = info.GetInt32(AppointmentDatabase.RepeatEndCountAttribute);
     _endDate  = info.GetDateTime(AppointmentDatabase.RepeatEndDateAttribute);
     _month    = info.GetInt32(AppointmentDatabase.RepeatMonthAttribute);
     _type     = (RepeatType)info.GetByte(AppointmentDatabase.RepeatTypeAttribute);
     _week     = info.GetInt32(AppointmentDatabase.RepeatWeekAttribute);
     _year     = info.GetInt32(AppointmentDatabase.RepeatYearAttribute);
     _skip     = (DateTime[])info.GetValue(AppointmentDatabase.RepeatSkipAttribute, typeof(DateTime[]));
 }