Source/Office2007Form/FormCaptionRendererEventArgs.cs

(完整代码) 1KB

using System;
using System.Text;
using System.Drawing;
using System.Windows.Forms;

namespace DevComponents.DotNetBar
{
    /// <summary>
    /// Provides data for form caption rendering events.
    /// </summary>
    public class FormCaptionRendererEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the reference to graphics object.
        /// </summary>
        public Graphics Graphics = null;
        /// <summary>
        /// Gets or sets the caption bounds.
        /// </summary>
        public Rectangle Bounds = Rectangle.Empty;
        /// <summary>
        /// Gets or sets the form caption is rendered for.
        /// </summary>
        public Form Form = null;

        /// <summary>
        /// Creates new instance of the class.
        /// </summary>
        public FormCaptionRendererEventArgs(Graphics g, Rectangle bounds, Form form)
        {
            this.Graphics = g;
            this.Bounds = bounds;
            this.Form = form;
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。