private void Editdata_edit(Model.vehicle vehicle) { var viwer = new Vehicles.Viwer(); viwer.id = vehicle.id; viwer.vehiclenumber = vehicle.vehicle_no; }
public void add(Model.vehicle vehicle) { var viwer = new Vehicles.Viwer(); viwer.id = vehicle.id; viwer.vehiclenumber = vehicle.vehicle_no; flowLayoutPanel1.Controls.Add(viwer); }