For any of those using VB.net as their preferred programming language, here is the C# code converted to VB.Net for your reference.
Original code from https://quantum-key.net/index.aspx "How much coding is involved?" section.LicenceCheck licenceCheck = new LicenceCheck();
licenceCheck.ShowDialog();
if (!licenceCheck.IsClosing) { if (licenceCheck.IsLicenceValid)
{
// code to launch full version of your software
}
else
{
// code to launch demo version of your software
}
}
Code converted from C# to VB.NetDim licenceCheck As LicenceCheck = New LicenceCheck
licenceCheck.ShowDialog
If Not licenceCheck.IsClosing Then
If licenceCheck.IsLicenceValid Then
' code to launch full version of your software
Else
' code to launch demo version of your software
End If
End If
Let me know if this helps