Samuel Toh

Samuel Toh

  • NA
  • 106
  • 16.4k

Highlight button after transferring to another form

Nov 5 2021 11:11 AM

private void btnUserUpdate_Click(object sender, EventArgs e)
        {
            User_Update x = new User_Update();
            x.Show();
            this.Hide();
        }

 

Above I have a code for a button. After I clicked the above button, it will bring me to a new form. What I want is after it brings me to the new form, I want the button to be highlighted so that the user will know which form they are in. How do I do that?


Answers (3)