Adding button into a Listview in WinForms

后端 未结 11 2362
天命终不由人
天命终不由人 2020-11-28 11:15

Is there a way to add a button control to a cell in inside a ListView in a WinForms app?

11条回答
  •  孤街浪徒
    2020-11-28 11:40

    This looks like the simplest answer I have come across... just added an ItemCommand to the ListView.

    See this link: handle-the-button-click-event-from-an-asp-net-listview-control

提交回复
热议问题