|
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
|
Método ToolStripItem.Select
.NET Framework 4.5
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (em System.Windows.Forms.dll)
// This method handles the Click event for the button. // it selects the first item in the ToolStrip control // by using the ToolStripITem.Select method. private void button1_Click(object sender, EventArgs e) { RolloverItem item = this.toolStrip1.Items[0] as RolloverItem; if (item != null) { item.Select(); this.Invalidate(); } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.