tangxu
2024-10-14 6cd995b71dfc74d4d96347d0bc535fddf36fa9df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 
 2011 Thomas Koglbauer
 * 
 */
 
using System.Drawing;
 
namespace System.Windows.Forms
{
    public class RibbonDropDownRenderEventArgs
        : EventArgs
    {
        #region ctor
 
        public RibbonDropDownRenderEventArgs(
            Graphics g, RibbonDropDown dropDown
            )
        {
            Graphics = g;
            DropDown = dropDown;
        }
 
        #endregion
 
        #region Props
 
        /// <summary>
        /// Gets or sets the graphics to paint
        /// </summary>
        public Graphics Graphics { get; set; }
 
        /// <summary>
        /// Gets or sets the Ribbon DropDown
        /// </summary>
        public RibbonDropDown DropDown { get; set; }
 
        #endregion
    }
}