Tell me how to execute several commands at once by typing cmd in the command line:

C: \ app.exe / h / s / e

The task is to prohibit the appearance of the form window on all teams and link the teams together.

Code from Program.cs

static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var form = new Form1(); if (args.Contains("/h")) { form.Check1(); } if (args.Contains("/s")) { form.Check2(); } if (args.Contains("/e")) { form.Check3(); } else { Application.Run(new Form1()); } } 
  • separate streams for each task ... - Vladimir Martyanov
  • How? I do not really understand C # tell me what the threads look like in the code. - Vitokhv
  • This is called "write for me." If you have a bad understanding of something - sort things out better and try as you suggest. - Vladimir Martyanov
  • Could not answer the topic in riddles for the sake of their superiority. - Vitokhv
  • Once you have a hard time understanding it is better not to answer you at all, it turns out ... - Vladimir Martyanov

0