コード例 #1
0
ファイル: Program.cs プロジェクト: PMArkive/HyoutaTools
        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);
        }