private void CommitTLK(object obj) { ME1Explorer.HuffmanCompression huff = new ME1Explorer.HuffmanCompression(); huff.LoadInputData(LoadedStrings); huff.serializeTLKStrListToExport(CurrentLoadedExport); FileModified = false; }
private void Evt_ImportXML(object sender, RoutedEventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog { Multiselect = false, Filter = "XML Files (*.xml)|*.xml" }; if (openFileDialog.ShowDialog() == true) { ME1Explorer.HuffmanCompression compressor = new ME1Explorer.HuffmanCompression(); compressor.LoadInputData(openFileDialog.FileName); compressor.serializeTLKStrListToExport(CurrentLoadedExport); FileModified = true; //this is not always technically true, but we'll assume it is } }