Hi there,
I have been using VS2012 and creating a form using the designer view.
I have found the need to modify my designer.cs code to make an object static. This is no problem in itself.
public static radiobuttonname;
Instead of using this.radiobuttonname in the automatically generated code I have replaced it with just radiobuttonname. This again is fine.
I go back to my work, continue on something else and after a while it automatically reverts back to non-static, replacing this. infront of every use of the radiobuttonname in the designer.cs code
Is there some way to circumvent this? It's highly irritating having to replace it all again. I cannot recreate everything in non-designer view, I also do not wish to try bodge this fix using some temporary variable/object. I have looked online but it's difficult to know exactly how to search for this issue.
Many thanks for any replies