Source/Office2007Form/SystemCaptionItemRendererEventArgs.cs
(完整代码) 1KBusing System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Provides data for the RenderSystemCaptionItem event.
/// </summary>
public class SystemCaptionItemRendererEventArgs : EventArgs
{
/// <summary>
/// Gets or sets Graphics control is rendered on.
/// </summary>
public Graphics Graphics = null;
/// <summary>
/// Gets reference to SystemCaptionItem being rendered.
/// </summary>
public SystemCaptionItem SystemCaptionItem = null;
/// <summary>
/// Gets whether Windows Vista Glass is enabled.
/// </summary>
public bool GlassEnabled = false;
/// <summary>
/// Creates new instance of the class and initializes it with default values.
/// </summary>
/// <param name="g">Reference to Graphics object.</param>
/// <param name="item">Reference to item being rendered.</param>
/// <param name="glassEnabled">Indicates whether Vista Glass effect is enabled.</param>
public SystemCaptionItemRendererEventArgs(Graphics g, SystemCaptionItem item, bool glassEnabled)
{
this.Graphics = g;
this.SystemCaptionItem = item;
this.GlassEnabled = glassEnabled;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。