Hello all,
I have my c# program set to run when windows starts by adding it to the Windows Registry. It works fine, but here is my problem...
I want the program to start in the system tray, but only when it is started automatically by Windows. If the user double-clicks the program from the desktop, then I do not want the program to start in the system tray. Right now, I can either have it always open in normal window mode or always open in the system tray.
Is there anyway to maybe determine if my program was launched by Windows startup? Or is there an alternative to this problem?
Thanks!