diff --git a/VECTO/GUI/VehicleForm.vb b/VECTO/GUI/VehicleForm.vb index 0524fe5fd8202aa7ea08efe0e8d56c9593b3d277..4695117ad357f041eaf879cd5c163ffe60589a72 100644 --- a/VECTO/GUI/VehicleForm.vb +++ b/VECTO/GUI/VehicleForm.vb @@ -1391,9 +1391,9 @@ Public Class VehicleForm tbInitialSoC.Focus() Return End If - If Not 100 < Convert.ToInt32(tbInitialSoC.Text) Then - MsgBox("Input has to below 100") - tbInitialSoC.Focus() + If 100 < Convert.ToInt32(tbInitialSoC.Text) Then + MsgBox("Input has to be less than or equal to 100") + tbInitialSoC.Focus() Return End If End Sub