ToolStripSeparatorRenderEventArgs(Graphics, ToolStripSeparator, Boolean) 构造函数

定义

初始化 ToolStripSeparatorRenderEventArgs 类的新实例。Initializes a new instance of the ToolStripSeparatorRenderEventArgs class.

public:
 ToolStripSeparatorRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripSeparator ^ separator, bool vertical);
public ToolStripSeparatorRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripSeparator separator, bool vertical);
new System.Windows.Forms.ToolStripSeparatorRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripSeparator * bool -> System.Windows.Forms.ToolStripSeparatorRenderEventArgs
Public Sub New (g As Graphics, separator As ToolStripSeparator, vertical As Boolean)

参数

g
Graphics

用于绘制的 GraphicsThe Graphics to paint with.

separator
ToolStripSeparator

要绘制的 ToolStripSeparatorThe ToolStripSeparator to be painted.

vertical
Boolean

一个指示是否垂直绘制 ToolStripSeparator 的值。A value indicating whether or not the ToolStripSeparator is to be drawn vertically.

适用于