It's equivalent.
When you change values using the properties window, that values are saved in the resx file. Then the method
InitializeComponents()
, that is written by the WinForms designed in the Form's constructor, performs the form initialization.If you do it manually in the constructor, you must place your initialization code, after
InitializeComponent()
method, then, the form will be initialized with your values.
What method is better? In my opinion, both method are equivalent. You can choose the way you prefer. But my recommendation is not mix them. Use pure Winforms designer or pure code initialization.