Inheritance: System.Windows.Forms.Form
Exemple #1
0
        private void drugaFormaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UnosForma forma = new UnosForma(sviPojmovi); //Još se ne prikazuje
            DialogResult result = forma.ShowDialog();
            if (result == DialogResult.OK)
            {
                lb_pojmovi.Text = "Svi pojmovi";
                foreach(string pojam in sviPojmovi)
                {
                    lb_pojmovi.Text += "\n pojam: " + pojam;
                }

            }
        }
Exemple #2
0
        private void drugaFormaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UnosForma    forma  = new UnosForma(sviPojmovi); //Još se ne prikazuje
            DialogResult result = forma.ShowDialog();

            if (result == DialogResult.OK)
            {
                lb_pojmovi.Text = "Svi pojmovi";
                foreach (string pojam in sviPojmovi)
                {
                    lb_pojmovi.Text += "\n pojam: " + pojam;
                }
            }
        }