示例#1
0
        public void ImportEPVSP(object sender, RoutedEventArgs e)
        {
            OpenFileDialog importFile = new OpenFileDialog();

            if (ImportPath != null)
            {
                importFile.InitialDirectory = ImportPath;
            }
            importFile.Multiselect = false;
            importFile.Filter      = "MHW EPV Sound Param (*.epvsp)|*.epvsp";
            if (importFile.ShowDialog() == true)
            {
                BinaryReader readFile = HelperFunctions.OpenFile(importFile.FileName);
                epvsp = new EPVSPFile(readFile);
                readFile.Close();
            }
            PopulateTreeView();
        }
示例#2
0
 public void CreateEPVSP(object sender, RoutedEventArgs e)
 {
     epvsp = new EPVSPFile();
     PopulateTreeView();
 }