|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
VisualStyleElement.ScrollBar.RightTrackHorizontal Classe
Assembly: System.Windows.Forms (em System.Windows.Forms. dll)
Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 Platform Note:
public void DrawVisualStyleElementScrollBarRightTrackHorizontal1(PaintEventArgs e) { if (VisualStyleRenderer.IsElementDefined( VisualStyleElement.ScrollBar.RightTrackHorizontal.Normal)) { VisualStyleRenderer renderer = new VisualStyleRenderer(VisualStyleElement.ScrollBar.RightTrackHorizontal.Normal); Rectangle rectangle1 = new Rectangle(10, 50, 50, 50); renderer.DrawBackground(e.Graphics, rectangle1); e.Graphics.DrawString("VisualStyleElement.ScrollBar.RightTrackHorizontal.Normal", this.Font, Brushes.Black, new Point(10, 10)); } else e.Graphics.DrawString("This element is not defined in the current visual style.", this.Font, Brushes.Black, new Point(10, 10)); }