title: selecting an item from listview in C#
body: <p>I am trying to show the selected item in listview in a message box, so using the following code</p>
  
  <pre><code>    private void lstMovie_SelectedIndexChanged(object sender, EventArgs e)
      { MessageBox.Show(lstMovie.FocusedItem.Text);}
  </code></pre>
  
  <p>it works fine for the first time but second time I try to select another item it throws an exception.
  Object reference not set to an instance of an object.</p>