⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emoticonregion.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Pc.BizControls
{
    using Imps.Client.Resource;
    using System;
    using System.Drawing;

    public class EmoticonRegion
    {
        private string _id;
        private Imps.Client.Resource.Emoticon emoticon;
        private bool isCustomEmoticon;
        private bool isSelected;
        private Rectangle rectEmoticon;
        private Rectangle rectEmoticonImage;
        private Rectangle rectEmoticonInside;
        private Rectangle rectEmoticonMiddle;
        private Rectangle rectEmoticonOutside;

        internal EmoticonRegion()
        {
        }

        public EmoticonRegion(Point startPoint, Size emoticonImageSize, Imps.Client.Resource.Emoticon emoticon)
        {
            this.rectEmoticon = new Rectangle(startPoint.X, startPoint.Y, emoticonImageSize.Width + 12, emoticonImageSize.Height + 12);
            this.rectEmoticonOutside = new Rectangle(startPoint.X + 1, startPoint.Y + 1, emoticonImageSize.Width + 10, emoticonImageSize.Height + 10);
            this.rectEmoticonMiddle = new Rectangle(startPoint.X + 2, startPoint.Y + 2, emoticonImageSize.Width + 8, emoticonImageSize.Height + 8);
            this.rectEmoticonInside = new Rectangle(startPoint.X + 3, startPoint.Y + 3, emoticonImageSize.Width + 6, emoticonImageSize.Height + 6);
            this.RectEmoticonImage = new Rectangle(startPoint.X + 6, startPoint.Y + 6, emoticonImageSize.Width, emoticonImageSize.Height);
            this.emoticon = emoticon;
        }

        public Imps.Client.Resource.Emoticon Emoticon
        {
            get
            {
                return this.emoticon;
            }
            set
            {
                this.emoticon = value;
            }
        }

        public string ID
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        public bool IsCustomEmoticon
        {
            get
            {
                return this.isCustomEmoticon;
            }
            set
            {
                this.isCustomEmoticon = value;
            }
        }

        public bool IsSelected
        {
            get
            {
                return this.isSelected;
            }
            set
            {
                this.isSelected = value;
            }
        }

        public Rectangle RectEmoticon
        {
            get
            {
                return this.rectEmoticon;
            }
            set
            {
                this.rectEmoticon = value;
            }
        }

        public Rectangle RectEmoticonImage
        {
            get
            {
                return this.rectEmoticonImage;
            }
            set
            {
                this.rectEmoticonImage = value;
            }
        }

        public Rectangle RectEmoticonInside
        {
            get
            {
                return this.rectEmoticonInside;
            }
            set
            {
                this.rectEmoticonInside = value;
            }
        }

        public Rectangle RectEmoticonMiddle
        {
            get
            {
                return this.rectEmoticonMiddle;
            }
            set
            {
                this.rectEmoticonMiddle = value;
            }
        }

        public Rectangle RectEmoticonOutside
        {
            get
            {
                return this.rectEmoticonOutside;
            }
            set
            {
                this.rectEmoticonOutside = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -