I am trying to make buttons only visible when a password is entered correctly.
This is a WindowsFormApplcation..
So the part I am working on is a submit button the user clicks after typing in the password
private void button3_Click(object sender, EventArgs e)
{
if ( textBox1.Text == "password")
}
Now the buttons I want to show are already their just set to hidden, and their names are button1 and button 2. I am a c# begginer and working my way through the basics. Thanks
Chris
By ‘hidden’ I assume you mean their Visible property is set to false.
To show them, set their Visible property to true, like so:
Does this help?