// *********************************
|
// Message from Original Author:
|
//
|
// 2008 Jose Menendez Poo
|
// Please give me credit if you use this code. It's all I ask.
|
// Contact me for more info: menendezpoo@gmail.com
|
// *********************************
|
//
|
// Original project from http://ribbon.codeplex.com/
|
// Continue to support and maintain by http://officeribbon.codeplex.com/
|
|
|
using System.Drawing;
|
|
namespace System.Windows.Forms
|
{
|
public sealed class RibbonPanelRenderEventArgs : RibbonRenderEventArgs
|
{
|
public RibbonPanelRenderEventArgs(Ribbon owner, Graphics g, Rectangle clip, RibbonPanel panel, Control canvas)
|
: base(owner, g, clip)
|
{
|
Panel = panel;
|
Canvas = canvas;
|
}
|
|
|
/// <summary>
|
/// Gets or sets the panel related to the events
|
/// </summary>
|
public RibbonPanel Panel { get; set; }
|
|
/// <summary>
|
/// Gets or sets the control where the panel is being rendered
|
/// </summary>
|
public Control Canvas { get; set; }
|
}
|
}
|