I have a c# windows forms application framework 2.0
I want to be able to pass a command from another process or from command line to my windows forms application while my application is running. How can I send and how can I receive?
I know it can be done thought IPC but I dont want to go there just yet as this passing the argument feature will be rarely used and I am trying make minimal changes in the windows forms application as possible.
edit: Right now the I run windows forms application by double-clicking icon..Can I make it run from command line as a process (console application???) and send commands from command-line?
Edit: Further clarification: The command is entered by user.