예제 #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            RF = RegionFile.FromMcaFile(textBox1.Text);
            a  = RF.chunksData[0].tag;

            treeView1.Nodes.Add(AddToTree(a));
        }
예제 #2
0
 private void button6_Click(object sender, EventArgs e)
 {
     RF = RegionFile.FromMcaFile(textBox1.Text);
     //foreach (RegionFile_Chunk chunk in RF.chunks)
     //{
     //    treeView1.Nodes.Add(addToTree(chunk.tag));
     //}
 }
예제 #3
0
        private void button13_Click(object sender, EventArgs e)
        {
            DirectoryInfo directoryInfo = new DirectoryInfo(textBox1.Text + "\\region");

            foreach (FileInfo file in directoryInfo.GetFiles())
            {
                region.Add(RegionFile.FromMcaFile(file.FullName, 1));
            }
        }