c# - ListView Item index -


how can doubleclicked item (index) listview?

 private void listviewmodels_mousedoubleclick(object sender, mouseeventargs e)  {       //this line doesn't work       int = listviewmodels.selecteditem ();                    string mdl_path=getcurrentitempath(i); } 

selecteditem isn't function, try

listviewitem item = listviewmodels.selecteditems[0]; 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -