I have a form named "form1" in vb.net. This form has many controls. I opened the form1.designer.vb file and put in an if else expression such as: 

If getLanguage() = "en" then label1.text = "Good Morning" Else label1.Text = "Bonjour" 

This works perfectly fine in runtime.

If I open the Form1.vb [Design] page in design, and make any changes, the code above disappears.

Is there a way I can keep any code I put in the designer page?
I don't want to put them in the load event in the form1.vb file.