Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 99c2cc34 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

fixes in gui

parent 571466ef
No related branches found
No related tags found
No related merge requests found
...@@ -449,13 +449,15 @@ Public Class VectoJobForm ...@@ -449,13 +449,15 @@ Public Class VectoJobForm
End If End If
Dim sb As ICycleData Try
For Each sb In vectoJob.Cycles Dim sb As ICycleData
Dim lv0 As ListViewItem = New ListViewItem For Each sb In vectoJob.Cycles
lv0.Text = GetRelativePath(sb.CycleData.Source, Path.GetDirectoryName(Path.GetFullPath(file))) 'sb.Name Dim lv0 As ListViewItem = New ListViewItem
LvCycles.Items.Add(lv0) lv0.Text = GetRelativePath(sb.CycleData.Source, Path.GetDirectoryName(Path.GetFullPath(file))) 'sb.Name
Next LvCycles.Items.Add(lv0)
Next
Catch ex As Exception
End Try
CbEngOnly.Checked = vectoJob.EngineOnlyMode CbEngOnly.Checked = vectoJob.EngineOnlyMode
If driver.OverSpeedEcoRoll.Mode = DriverMode.EcoRoll Then If driver.OverSpeedEcoRoll.Mode = DriverMode.EcoRoll Then
......
...@@ -339,6 +339,7 @@ Public Class VehicleForm ...@@ -339,6 +339,7 @@ Public Class VehicleForm
End Select End Select
End If End If
_vehFile = file
Dim basePath As String = Path.GetDirectoryName(file) Dim basePath As String = Path.GetDirectoryName(file)
CbCat.SelectedValue = vehicle.VehicleCategory CbCat.SelectedValue = vehicle.VehicleCategory
CbAxleConfig.SelectedValue = vehicle.AxleConfiguration CbAxleConfig.SelectedValue = vehicle.AxleConfiguration
...@@ -396,7 +397,7 @@ Public Class VehicleForm ...@@ -396,7 +397,7 @@ Public Class VehicleForm
VehicleFileBrowser.UpdateHistory(file) VehicleFileBrowser.UpdateHistory(file)
Text = GetFilenameWithoutPath(file, True) Text = GetFilenameWithoutPath(file, True)
LbStatus.Text = "" LbStatus.Text = ""
_vehFile = file
Activate() Activate()
_changed = False _changed = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment