You should not manually edit
xxx.Designer.cs
files, they are meant to be generated by winforms designer and error is likely due to some manual edit. Revert changes (if you don't use source control yet, start using one) or create a new form.