Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public IBackgroundPicture GetBackgroundPicture()
        {
            BackgroundPicture bp = new BackgroundPicture();

            bp.Load();
            return(bp);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (UniqueIdentify != 0)
            {
                hash ^= UniqueIdentify.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (BackgroundPicture.Length != 0)
            {
                hash ^= BackgroundPicture.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (StartTime != 0L)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (EndTime != 0L)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (ShowEndTime != 0L)
            {
                hash ^= ShowEndTime.GetHashCode();
            }
            if (Sort != 0)
            {
                hash ^= Sort.GetHashCode();
            }
            if (OverdueTime != 0)
            {
                hash ^= OverdueTime.GetHashCode();
            }
            if (EndType != 0)
            {
                hash ^= EndType.GetHashCode();
            }
            if (IsDisplay != 0)
            {
                hash ^= IsDisplay.GetHashCode();
            }
            if (activityExtra_ != null)
            {
                hash ^= ActivityExtra.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
 public Cell(string tag, string newText, BackgroundPicture backgroundPicture)
 {
     this.Tag     = tag;
     this.NewText = newText;
     this.Picture = backgroundPicture;
 }
Пример #4
0
 public Cell(string tag, string newText, BackgroundPicture backgroundPicture)
 {
     this.Tag = tag;
     this.NewText = newText;
     this.Picture = backgroundPicture;
 }