I have a Windows Forms application that I can open and click buttons to run, but I would like to automate it's internal processes by adding a command line switch on the end so I can schedule it.
For example, executing the program with "Program.exe /autorun" would keep the program hidden, and run it's code without me opening it and clicking buttons.
Is this possible using C#?
For example, executing the program with "Program.exe /autorun" would keep the program hidden, and run it's code without me opening it and clicking buttons.
Is this possible using C#?