c# - Hide buttons in WindowsForms -


I have a windows form with 5 buttons, browse other files to close the form for another function And the rest have to browse all three. Unless I click the browse button I want to hide those three buttons. would it be possible? If so, explain the process.

Thanks in advance.

Use visible property and event handler to do this:

  button b1 = new button (); Button b2 = new button (); B2 View = valid; B1 Click = B1_Click; Private Zero b1_Click (Object Sender, EventArgs e) {b2.Visible = true; }  

Comments