private void buttonAddAuto_Click(object sender, EventArgs e) { string nrAuto = textBoxNumarAuto.Text.ToString(); string serieSasiu = textBoxSerieSasiu.Text.ToString(); string codSasiu = textBoxCodSasiu.Text.ToString(); string denumireSasiu = textBoxDenumireSasiu.Text.ToString(); int id = Int32.Parse(textBoxIdClient.Text.ToString()); Automobile.Add(nrAuto, serieSasiu, codSasiu, denumireSasiu, id); }
public override void AddChassis() { _product.Add("Big Lift Kit"); }
public override void AddChassis() { _automobile.Add("Cool Curves"); }