private void btnAddMarka_Click(object sender, EventArgs e) { NovaMarka novaMarka = new NovaMarka(); if (novaMarka.ShowDialog() == System.Windows.Forms.DialogResult.OK) { lbMarki.Items.Add(novaMarka.Marka); dodadiMarki(); } }