If my program has been ran before I would like it to start minimized. I have not done much work in C# & still have a lot to learn, but I don't see why this won’t work. The time starts but the program does not start minimized.
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\MyTest\\StartUp");
if (key == null)
{
key = Registry.CurrentUser.CreateSubKey("Software\\MyTest\\StartUp");
}
else
{
tmrTest.Enabled = true;// start timer
Hide();
}// end else
Thanks for the help!