I am currently working on a Windows Form application, and setting the text of labels in the InitializeComponent()
method of MyForm.Designed.cs
. I'm setting it to a function call so it looks like the first line, but it keeps getting reformatted into the second line. The first line works perfectly, it's just that it's getting reformatted.
this.teamGroup.Text = LocalizedLanguage.GetValue("SelectedTeamLabel");
this.teamGroup.Text = "Selected Team";
Additionally, this is also happening for the TabIndex as well.
I have:
- C# 6.0
- Visual Studio 2015 Community
- ReSharper 10.0.2