Exemplo n.º 1
0
 private void btnDodajMarke_Click(object sender, EventArgs e)
 {
     Nazwa = txtMarka.Text;
     try
     {
         nowa.Insert(Nazwa);
         this.Close();
     }
     catch
     {
         MessageBox.Show("Nie udało się wprowadzić nowej marki.");
     }
 }