Windows Form c# refresh with same scroll position

Google “windows form c# refresh with same scroll position”

Working as of : Last check on 1-26-17

 int topItemIndex = 0;
try
{
 topItemIndex = listView1.TopItem.Index;
}
catch (Exception ex)
{ }
listView1.BeginUpdate();
listView1.Items.Clear();
//CODE TO FILL LISTVIEW GOES HERE
listView1.EndUpdate();
try 
{ 
 listView1.TopItem = listView1.Items[topItemIndex];
}
catch (Exception ex)
{ }

sources:

http://stackoverflow.com/questions/626315/winforms-listview-remembering-scrolled-location-on-reload