c#点击获取listview单元格的数据或值
c#点击获取listview单元格的数据或值
private void listView_zhimo_info_Click(object sender, EventArgs e) { Point tmpPoint = listView_zhimo_info.PointToClient(Cursor.Position); ListViewItem.ListViewSubItem subitem = listView_zhimo_info.HitTest(tmpPoint).SubItem; textBox_zimo_month.Text = subitem.Text; this.Size = new System.Drawing.Size(193, 209); }
欢迎讨论,相互学习。
cdtxw@foxmail.com