Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>System.Web.UI.WebControls</code>, as the <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols%28v=VS.71%29.aspx" rel="nofollow">documentation</a> (and the multiple mentions of <strong>Web</strong> in the name) clearly states, are only for web apps. The equivalent in a <code>Windows.Forms</code> application would probably be a <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.combobox%28v=VS.80%29.aspx" rel="nofollow"><code>ComboBox</code></a>, which is on the <code>Common Controls</code> section of the <code>ToolBox</code> for a <code>Windows.Forms</code> application.</p> <p>The event you'll most likely want to use is the <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.control.click.aspx" rel="nofollow"><code>Click</code></a> or <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.combobox.selectedindexchanged.aspx" rel="nofollow"><code>SelectedIndexChanged</code> i</a>f you're needing to react as soon as something happens. To access the item the user selected, use the <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.combobox.selectedindex%28v=vs.80%29.aspx" rel="nofollow"><code>SelectedIndex</code></a> (for the numerical position in the list of items) or <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.listcontrol.selectedvalue%28v=vs.80%29.aspx" rel="nofollow"><code>SelectedValue</code></a> (for the content of the item selected). You might also find the <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.combobox.selecteditem%28v=vs.80%29.aspx" rel="nofollow"><code>SelectedItem</code></a> and <a href="http://msdn.microsoft.com/en-US/library/system.windows.forms.combobox.selectedtext%28v=vs.80%29.aspx" rel="nofollow"><code>SelectedText</code></a> properties of interest.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload