Пример #1
0
        private void dodajCelButton_Click(object sender, EventArgs e)
        {
            Visible = false;
            KryteriumPanel kryteriumPanel = new KryteriumPanel(mainForm, buttonMenu);

            mainForm.Controls.Add(kryteriumPanel);
            buttonMenu.setAktualnyPanel(kryteriumPanel);
            buttonMenu.setControlEnable(buttonMenu.getButton("Dodaj"), true);
            buttonMenu.setControlEnable(buttonMenu.getButton("Usuń"), false);
            buttonMenu.setControlEnable(buttonMenu.getButton("Wstecz"), true);
            buttonMenu.setControlEnable(buttonMenu.getButton("Dalej"), false);
            kryteriumPanel.Visible = true;
            buttonMenu.Visible     = true;
        }
Пример #2
0
 public void setKryteriumPanel(KryteriumPanel kryteriumPanel)
 {
     this.kryteriumPanel = kryteriumPanel;
 }