I have a button on my form, but I am unable to access it from my code. My code (from Program.cs
):
Form1.button1.Text = "Button text"
I cannot access it due to it's protection level. What shall I do to change this field protection level or something?