Ejemplo n.º 1
0
        private static void Main(string[] args)
        {
            ICmdCommand command = CreateCommand(args);

            if (!command.ValidateArgs)
            {
                command.PrintUsage();
                return;
            }

            command.Execute();
        }
Ejemplo n.º 2
0
        private static void Main(string[] args)
        {
            Color       c1      = Color.FromArgb(0xFF00FF);
            Color       c2      = Color.FromArgb(255, 0, 255);
            ICmdCommand command = CreateCommand(args);

            if (!command.ValidateArgs)
            {
                command.PrintUsage();
                return;
            }

            command.Execute();
        }