How to Transferring objects between windows forms in c#

后端 未结 4 2002
暖寄归人
暖寄归人 2021-01-29 06:37

i got a ListView in the windows form.When form loads ListView loading with personel objects. I want to do when some user double clicks on ListView , gets the personel object fro

4条回答
  •  粉色の甜心
    2021-01-29 07:08

    You could probably just add a public PERSONEL property to the form, which you would then set in your SelectedIndexChanged event handler. Then any code that has access to your selector form could access your custom selected PERSONEL property.

提交回复
热议问题