예제 #1
0
        private void findAMatchAppButton_Click(object sender, EventArgs e)
        {
            List <ButtonBase> buttons;

            panelMatch = AppScreenFactory.CreateAppPanel(AppScreenFactory.eAppPanel.MATCH, m_AppEngine);
            buttons    = createListForButtonsToAdd();
            buttons.Add(backToHomeButton);
            panelMatch.AddButtons(buttons);
            panelMain.Controls.Clear();
            panelMain.Controls.Add(panelMatch);
        }
예제 #2
0
        private void createHomePanel()
        {
            List <ButtonBase> buttons;

            buttons       = createListForButtonsToAdd();
            panelHomePage = AppScreenFactory.CreateAppPanel(AppScreenFactory.eAppPanel.HOME, m_AppEngine);
            panelHomePage.AddButtons(buttons);
            this.panelMain.Controls.Clear();
            this.panelMain.Controls.Add(this.panelHomePage);
            setAppButtonsEnabledStatus(true);
        }