private bool getCheckAtStartupChecked(bool bValid)
{
var retValue = false;
if ((Application.UserAppDataRegistry.GetValue("checksettings") == null ||
Application.UserAppDataRegistry.GetValue("checksettings").ToString() == "true"))
{
retValue = true;
}
if (bValid && retValue)
{
Application.UserAppDataRegistry.SetValue("checksettings", false);
retValue = false;
}
return retValue;
}