ToolStripItemRenderEventArgs(Graphics, ToolStripItem) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ToolStripItemRenderEventArgs class for the specified ToolStripItem and using the specified Graphics.
public:
ToolStripItemRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item);
public ToolStripItemRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item);
new System.Windows.Forms.ToolStripItemRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem -> System.Windows.Forms.ToolStripItemRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem)
Parameters
- item
- ToolStripItem
The ToolStripItem to be drawn.
Exceptions
g
or item
is null.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.