private void Menu_File_Open_Click(object sender, RoutedEventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "Index2|index2.rif"; if (ofd.ShowDialog() == false) { return; } manager.LoadPackage(IO.Path.GetDirectoryName(ofd.FileName)); RefreshFileTree(); }
public SongManager(string packageRoot) { _packageManager = new FEnvironment(); _packageManager.LoadPackage(packageRoot); }