开发者

Determine what item was clicked in my ListBox?

How can I determine 开发者_StackOverflow中文版what item was clicked on my ListBox?


    if (yourListBoxName.SelectedIndex!=-1) {
      // do stuff with yourListBoxName.SelectedIndex
    }

Without very basic information on what you want to do, this is very basic.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜