title: how to check if listview item is checked
body: <p>User chose a folder containing files. I'm making a listview displaying the files in the chosen folder. I want to display what each file contains, but i want to display it when the user checks a file from listviewitem. I'm using the following code:</p>
  
  <pre><code>if (listView1.Items[0].Checked == true)
  {
     //....
  }
  </code></pre>
  
  <p>Why doesn't  it work? What should i want to use data from for example:</p>
  
  <p><code>button1.Click(...)</code> to <code>button2.Click(...)</code>?</p>