private void BackButton5_Click(object sender, EventArgs e) { ProfilePressedPanel.Hide(); MenuButtonPanel.Show(); viewProfileControl1.Hide(); editProfileControl1.Hide(); }
private void BackButton4_Click(object sender, EventArgs e) { ReservationsPressedPanel.Hide(); MenuButtonPanel.Show(); viewReservationsControl1.Hide(); manageReservationsControl1.Hide(); }
private void TablesButton2_Click(object sender, EventArgs e) { TablesPressedPanel.Hide(); MenuButtonPanel.Show(); addTablesControl1.Hide(); editTablesControl1.Hide(); }
private void MenuButton_Click(object sender, EventArgs e) { if (MenuPanel.Visible) { MenuPanel.Hide(); MenuButtonPanel.Show(); } else { MenuPanel.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 ReservationsButton_Click(object sender, EventArgs e) { if (ReservationsPressedPanel.Visible) { ReservationsPressedPanel.Hide(); MenuButtonPanel.Show(); } else { ReservationsPressedPanel.Show(); MenuButtonPanel.Hide(); } }
private void TablesButton_Click(object sender, EventArgs e) { if (TablesPressedPanel.Visible) { TablesPressedPanel.Hide(); MenuButtonPanel.Show(); } else { TablesPressedPanel.Show(); MenuButtonPanel.Hide(); } }
private void BackButton7_Click(object sender, EventArgs e) { menuValue = ""; MenuButtonPanel.Show(); MenuPanel.Hide(); }