Пример #1
0
 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();
     }
 }
        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();
            }
        }