示例#1
0
        public static int Execute(List <string> args)
        {
            if (args.Count < 1)
            {
                System.Windows.Forms.MessageBox.Show("Requires 1 argument, which is the path to the trophy folder.");
                return(-1);
            }

            String         path     = args[0];
            GameFolder     GF       = new GameFolder(path);
            GameSelectForm GameForm = new GameSelectForm(GF);

            GameForm.Show();

            return(0);
        }
示例#2
0
        public static int Execute(List <string> args)
        {
            if (args.Count < 1)
            {
                Console.WriteLine("Usage: TrophyViewer [folder]");
                return(-1);
            }

            String         path     = args[0];
            GameFolder     GF       = new GameFolder(path);
            GameSelectForm GameForm = new GameSelectForm(GF);

            GameForm.Show();

            return(0);
        }