diff --git a/VECTO/GUI/VehicleForm.vb b/VECTO/GUI/VehicleForm.vb index ee1f76436e9689c58c02f536142593c551e6cc71..bf978bea0287b5de05bac43a8868f0a2e8f1cd4c 100644 --- a/VECTO/GUI/VehicleForm.vb +++ b/VECTO/GUI/VehicleForm.vb @@ -41,14 +41,14 @@ Public Class VehicleForm Public JobDir As String = "" 'Close - Check for unsaved changes - Private Sub F_VEH_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing + Private Sub VehicleFormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing If e.CloseReason <> CloseReason.ApplicationExitCall And e.CloseReason <> CloseReason.WindowsShutDown Then e.Cancel = ChangeCheckCancel() End If End Sub 'Initialise form - Private Sub F05_VEH_Load(sender As Object, e As EventArgs) Handles MyBase.Load + Private Sub VehicleFormLoad(sender As Object, e As EventArgs) Handles MyBase.Load TbLoadingMax.Text = "-" PnLoad.Enabled = Not Cfg.DeclMode ButAxlAdd.Enabled = Not Cfg.DeclMode