Placing Images and Strings with a C# Combobox

前端 未结 5 1626
傲寒
傲寒 2020-12-01 14:30

I need to create a dropdown menu, or combobox, for a Windows Forms application which contains a small image and then a string of text next to it. Basically, you can think o

5条回答
  •  长情又很酷
    2020-12-01 15:17

    Not sure about images but this should work for the strings:

    comboBox.Items.Add("String");
    

提交回复
热议问题