コード例 #1
0
 private void exportToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)
     {
         loadedFile.WritePackToDirectory(folderBrowserDialog1.SelectedPath);
     }
 }
コード例 #2
0
        static void Main(String[] args)
        {
            if (args.Length != 0)
            {
                string f = args[0];
                if (f == "-help")
                {
                    Console.WriteLine("ResourceViewer.exe [packfile] [output directory]");
                    return;
                }
                PackFile p = new PackFile(f);
                p.WritePackToDirectory(args[1]);
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
コード例 #3
0
        static void Main(String[] args)
        {
            if (args.Length != 0)
            {
                string f = args[0];
                if(f == "-help")
                {
                    Console.WriteLine("ResourceViewer.exe [packfile] [output directory]");
                    return;
                }
                PackFile p = new PackFile(f);
                p.WritePackToDirectory(args[1]);
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }