private void MenuButton_Click(object sender, EventArgs e) { if (MenuPanel.Visible) { MenuPanel.Hide(); MenuButtonPanel.Show(); } else { MenuPanel.Show(); MenuButtonPanel.Hide(); } }
private void ReservationsButton_Click(object sender, EventArgs e) { if (ReservationsPressedPanel.Visible) { ReservationsPressedPanel.Hide(); MenuButtonPanel.Show(); } else { ReservationsPressedPanel.Show(); MenuButtonPanel.Hide(); } }
private void ProfileButton_Click(object sender, EventArgs e) { if (ProfilePressedPanel.Visible) { ProfilePressedPanel.Hide(); MenuButtonPanel.Show(); } else { ProfilePressedPanel.Show(); MenuButtonPanel.Hide(); } }
private void TablesButton_Click(object sender, EventArgs e) { if (TablesPressedPanel.Visible) { TablesPressedPanel.Hide(); MenuButtonPanel.Show(); } else { TablesPressedPanel.Show(); MenuButtonPanel.Hide(); } }