本文整理汇总了VB.NET中System.Windows.Forms.ToolStripGripRenderEventArgs类的典型用法代码示例。如果您正苦于以下问题:VB.NET ToolStripGripRenderEventArgs类的具体用法?VB.NET ToolStripGripRenderEventArgs怎么用?VB.NET ToolStripGripRenderEventArgs使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ToolStripGripRenderEventArgs类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1:
Private Sub ToolStripRenderer1_RenderGrip(sender as Object, e as ToolStripGripRenderEventArgs) _
Handles ToolStripRenderer1.RenderGrip
Dim messageBoxVB as New System.Text.StringBuilder()
messageBoxVB.AppendFormat("{0} = {1}", "GripBounds", e.GripBounds)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "GripDisplayStyle", e.GripDisplayStyle)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "GripStyle", e.GripStyle)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "AffectedBounds", e.AffectedBounds)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "BackColor", e.BackColor)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "Graphics", e.Graphics)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "ToolStrip", e.ToolStrip)
messageBoxVB.AppendLine()
messageBoxVB.AppendFormat("{0} = {1}", "ConnectedArea", e.ConnectedArea)
messageBoxVB.AppendLine()
MessageBox.Show(messageBoxVB.ToString(),"RenderGrip Event")
End Sub