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

📄 scroll_widget.cs

📁 破解的飞信源代码
💻 CS
📖 第 1 页 / 共 5 页
字号:
                            this.do_paint();
                        }
                    }
                    else if (DrawItemState.HotLight == (this.m_tunnel_state & DrawItemState.HotLight))
                    {
                        this.m_prev_arrow_state = DrawItemState.Default;
                        this.m_back_arrow_state = DrawItemState.Default;
                        this.m_thumb_state = DrawItemState.Default;
                        this.m_tunnel_state = DrawItemState.Default;
                        this.do_paint();
                    }
                }
            }
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            if ((base.ClientRectangle.Width > 0) && (base.ClientRectangle.Height > 0))
            {
                using (Bitmap image = new Bitmap(base.ClientRectangle.Width, base.ClientRectangle.Height))
                {
                    Graphics g = Graphics.FromImage(image);
                    this.do_paint(g);
                    e.Graphics.DrawImage(image, base.ClientRectangle);
                }
            }
        }

        protected override void OnPaintBackground(PaintEventArgs e)
        {
            if ((base.ClientRectangle.Width > 0) && (base.ClientRectangle.Height > 0))
            {
                using (Bitmap image = new Bitmap(base.ClientRectangle.Width, base.ClientRectangle.Height))
                {
                    Graphics g = Graphics.FromImage(image);
                    this.do_paint(g);
                    e.Graphics.DrawImage(image, base.ClientRectangle);
                }
            }
        }

        public Color active_arrow_color
        {
            get
            {
                return this.m_clr_active_arrow;
            }
            set
            {
                if (value != this.m_clr_active_arrow)
                {
                    this.m_clr_active_arrow = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public Color active_arrow_frame_color
        {
            get
            {
                return this.m_clr_active_arrow_frame;
            }
            set
            {
                if (value != this.m_clr_active_arrow_frame)
                {
                    this.m_clr_active_arrow_frame = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public Color active_thumb_frame_color
        {
            get
            {
                return this.m_clr_active_thumb_frame;
            }
            set
            {
                if (value != this.m_clr_active_thumb_frame)
                {
                    this.m_clr_active_thumb_frame = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public Color arrow_color
        {
            get
            {
                return this.m_clr_arrow;
            }
            set
            {
                if (value != this.m_clr_arrow)
                {
                    this.m_clr_arrow = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public Color begin_color
        {
            get
            {
                return this.m_clr_begin;
            }
            set
            {
                if (value != this.m_clr_begin)
                {
                    this.m_clr_begin = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public bool cover_host
        {
            get
            {
                return this.m_cover_host;
            }
            set
            {
                if (value != this.m_cover_host)
                {
                    this.m_cover_host = value;
                    this.on_update_pos(false);
                }
            }
        }

        public Color end_color
        {
            get
            {
                return this.m_clr_end;
            }
            set
            {
                if (value != this.m_clr_end)
                {
                    this.m_clr_end = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public bool for_buddytree
        {
            get
            {
                return this.m_for_buddytree;
            }
            set
            {
                this.m_for_buddytree = value;
            }
        }

        public bool for_pane
        {
            get
            {
                return this.m_for_pane;
            }
            set
            {
                this.m_for_pane = value;
            }
        }

        public Color frame_color
        {
            get
            {
                return this.m_clr_frame;
            }
            set
            {
                if (value != this.m_clr_frame)
                {
                    this.m_clr_frame = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public bool hook_host
        {
            get
            {
                return this.m_hook_host;
            }
            set
            {
                if (value != this.m_hook_host)
                {
                    this.m_hook_host = value;
                    if (this.m_hook_host)
                    {
                        this.on_update_pos(false);
                    }
                }
            }
        }

        public Control host
        {
            get
            {
                return this.m_host;
            }
            set
            {
                this.on_change_host(value);
            }
        }

        public Color hot_begin_color
        {
            get
            {
                return this.m_clr_hot_begin;
            }
            set
            {
                if (value != this.m_clr_hot_begin)
                {
                    this.m_clr_hot_begin = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public Color hot_end_color
        {
            get
            {
                return this.m_clr_hot_end;
            }
            set
            {
                if (value != this.m_clr_hot_end)
                {
                    this.m_clr_hot_end = value;
                    IntPtr handle = base.Handle;
                    this.do_paint();
                }
            }
        }

        public bool sensitive
        {
            get
            {
                return this.m_sensitive;
            }
            set
            {
                this.m_sensitive = value;
            }
        }

        public bool stylized_mode
        {
            get
            {
                return this.m_stylized_mode;
            }
            set
            {
                this.m_stylized_mode = value;
                this.on_update_pos(false);
            }
        }

        public Color thumb_frame_color
        {
            get
            {
                return this.m_clr_thumb_frame;
            }
            set
            {
                if (value != this.m_clr_thumb_frame)
                {
                    this.m_clr_thumb_frame = value;
                    IntPtr h

⌨️ 快捷键说明

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