private void ucMain_Load(object sender, EventArgs e) { vehicle = BAL.GetVehicle(); gridControl2.DataSource = BAL.GetVehicles(5); gridControl1.DataSource = BAL.GetSumVehicles(); vlcControl1.Video.FullScreen = true; setInfo(vehicle); }
public Vehicle VehiclesById(int Vehicle_Id) { Vehicle _Vehicle = _vehicleBAL.GetVehicle(Vehicle_Id); return(_Vehicle); }