Esempio n. 1
0
 private void MenuButton_Click(object sender, EventArgs e)
 {
     if (MenuPanel.Visible)
     {
         MenuPanel.Hide();
         MenuButtonPanel.Show();
     }
     else
     {
         MenuPanel.Show();
         MenuButtonPanel.Hide();
     }
 }
Esempio n. 2
0
 private void ReservationsButton_Click(object sender, EventArgs e)
 {
     if (ReservationsPressedPanel.Visible)
     {
         ReservationsPressedPanel.Hide();
         MenuButtonPanel.Show();
     }
     else
     {
         ReservationsPressedPanel.Show();
         MenuButtonPanel.Hide();
     }
 }
Esempio n. 3
0
 private void ProfileButton_Click(object sender, EventArgs e)
 {
     if (ProfilePressedPanel.Visible)
     {
         ProfilePressedPanel.Hide();
         MenuButtonPanel.Show();
     }
     else
     {
         ProfilePressedPanel.Show();
         MenuButtonPanel.Hide();
     }
 }
Esempio n. 4
0
 private void TablesButton_Click(object sender, EventArgs e)
 {
     if (TablesPressedPanel.Visible)
     {
         TablesPressedPanel.Hide();
         MenuButtonPanel.Show();
     }
     else
     {
         TablesPressedPanel.Show();
         MenuButtonPanel.Hide();
     }
 }