Like you have 2 buttons. Lets call them
Menu, Tables
When you press Menu , you want to display the menu
but the other buttons not to show.
When you press Tables, you want to display Tables.
but the other buttons not to show
This can become messy if i live it on one window so we can use UserControl to do this? and what would be the most appropritate way to do this?
Code:
void Menu(){
//Show Menu
//Close Reports
//Close Tables
//Close Beaches
}
void Reports(){
//Show Reports
//Close Menu
//Close Table
//Close Beaches
}
But imagine having more items and you would have to go over each one and each one to turn them off... it will become a mess.