Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Ignore duplicate items in the lisview

$
0
0

Hi,

I use an input-form for entering data into a listview. I can open multiple input-forms 

by selecting them in the listview and press a button called bbEdtNote. But input-forms 

with the same name in the listview column "name" will not be shown.

Is there a code to ignore duplicate names so I can display input-forms with the same 

name in the listview column "name".

This is the code I have to open multiple input-forms at once:



private void bbEdtNote_ItemClick(object sender, DevExpress,XtraBars.ItemClickEventArgs 

e)
{
if (lvNotes.selectedItems.count == 0) return
foreach (ListViewItem lvi in this.lvNotes.SelectedItems)
{
 OpenSticky(lvi)
}

Can PLEASE someone help me?

Greetings, Peter Kiers


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>