SyntaxFix
Write A Post
Hire A Developer
Questions
In your button1_click function you are using '==' for button2.Enabled == true;
button2.Enabled == true;
This should be button2.Enabled = true;
button2.Enabled = true;