I have created a Form using the VS 2013 designer.
I added a Listview control and added 13 columns via the Properties window.
I then wrote a program in C# and I am able to access all of those columns using the item.SubItems[N] construct. Also, all of those column headers appear in the Listview on the form.
Later I added 2 new columns. The new columns show up in the Listview but throw an invalid index error when I try to access them. Also the SubItems.Count does not reflect the increase of columns in the collection. I also notice that, in the form.Designer.cs file, those new columns are not there.
What can I do to make sure the designer file gets updated and my new columns are added to the collection? (note: this is not related to an 'off-by-one' error or a mistake in indexing number) Thanks in advance.