示例#1
0
 //Hide all the panels
 private void HideAllPanels()
 {
     CP_pnlVoorraad.Hide();
     CP_pnlMedewerkers.Hide();
     CP_pnlMenukaarten.Hide();
     CP_pnlInkomsten.Hide();
 }
示例#2
0
        //Highlight the button, set the text in the top bar, hide all other panels, show correct panel
        private void CP_btnMenukaarten_Click(object sender, EventArgs e)
        {
            SetHightlight(CP_btnMenukaarten);
            CP_lblActivePanel.Text = "Menukaarten";
            HideAllPanels();
            CP_pnlMenukaarten.Show();

            LoadMenukaartenDrinks();
        }