From d44a5dc2708323d591bb20554ddbce6ecc7ee368 Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Thu, 3 Jan 2019 09:38:46 +0100 Subject: [PATCH] add message to vecto gui after simulation --- VECTO/GUI/MainForm.vb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/VECTO/GUI/MainForm.vb b/VECTO/GUI/MainForm.vb index 59bef9cd89..1f35cdf962 100644 --- a/VECTO/GUI/MainForm.vb +++ b/VECTO/GUI/MainForm.vb @@ -1105,6 +1105,20 @@ Imports TUGraz.VectoCore.Utils sender.ReportProgress(100, New VectoProgress With {.Target = "ListBox", .Message = String.Format("Simulation Finished in {0:0}s", (DateTime.Now() - start).TotalSeconds)}) + +#if CERTIFICATION_RELEASE + dim message as string = nothing +#else +#if RELEASE_CANDIDATE + dim message as string = "RELEASE CANDIDATE - NOT FOR CERTIFICATION!" +#else + dim message as string = "DEVELOPMENT VERSION - NOT FOR CERTIFICATION!" +#End If +#end if + if Not string.IsNullOrWhitespace(message) then + sender.ReportProgress(100, New VectoProgress With {.Target = "ListBoxWarning", + .Message = message}) + End If End Sub -- GitLab