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(); }
public void CreateEPVSP(object sender, RoutedEventArgs e) { epvsp = new EPVSPFile(); PopulateTreeView(); }