how do i make it so when i press it this happens and if i do it again another thing happens

ive made a code in winforms so when i press with my left mouse button it hides everything, how do i make so it shows everything if i press once more?
Was this page helpful?