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

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

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