Пример #1
0
 protected void BuyButton_Click(object sender, EventArgs e)
 {
     mycarshop.AddCarToList(new Car(BrandBox.Text, Convert.ToInt32(YearBox.Text)));
 }