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

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -