Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     if (args.Length > 0)
     {
         runClient(args);
     }
     //(13-16) Runs the client if there are arguments
     else
     {
         try
         {
             ClientInterface Interface = new ClientInterface();
             Interface.ShowDialog();
         }
         catch
         {
             Console.WriteLine("Error reading details");
         }
     }
     //(18-29) Runs the client and UI if there are no arguments
 }