private void wfVehileDetails_Load(object sender, EventArgs e) { vehicle = BAL.SelectVehicleById(id); SetBaseInfo(vehicle); vlcControl1.SetMedia(new System.IO.FileInfo(vehicle.vimage2));//本地图片2 vlcControl1.Play(); InitializeComponent(); }