Home > Net >  C # programming
C # programming

Time:09-24

How to choose the listview control to a show in the ladel

CodePudding user response:

Private void listView1_ItemSelectionChanged (object sender, EventArgs e)
{if (listView1. SelectedItems. Count==0) return;
The else
{
Ladel. Text=listView1. SelectedItems [0]. The Text;
}
}
  •  Tags:  
  • C#
  • Related