Esempio n. 1
0
        public static void CommandLine(string command)
        {
            switch (command.ToLower())
            {
            case ConsoleKey.CommandHelp:
                ClassConsole.WriteLine("(" + ConsoleKey.CommandStatus + ") Show status - (" + ConsoleKey.CommandHelp + ") This help message - (" + ConsoleKey.CommandExit + ") Exit", "KEYCOMMAND", Color.Blue, Color.Blue);
                break;

            case "t":
                NodeServer.sentToAll("test");
                break;

            case ConsoleKey.CommandExit:
                Environment.Exit(0);
                break;
            }
        }