在 HTML 但在 Windows 表单中是否有类似 Select-Control 的东西?

Is there something like the Select-Control in HTML but in Windows Forms?

我正在搜索下拉菜单,您可以在其中选择 Windows 表单中的几个选项之一。我知道它存在于 HTML,但我还没有在 Windows 表单中找到它。

控件的 HTML 代码如下所示:

<select name="List">
  <option value="1">1</option>
  <option value="2">2</option>
</select>

您可以使用 ComboBox 控件。

这里是link到MSDN

还有一个详细的用法说明:https://www.c-sharpcorner.com/UploadFile/mahesh/combobox-in-C-Sharp/

此致,

托多