public SceneController(MainWindow window)
 {
     _window             = window;
     _entitiesController = _window.entitiesController;
     _fsManager          = FS.Manager.Instance;
     _formatter          = new BinaryFormatter();
 }
        public FileExplorer()
        {
            var user_docs = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\MK2Project";

            FS.Manager.Initialize(user_docs);
            file_explorer = FS.Manager.Instance;
            InitializeComponent();
            OpenDir(file_explorer.Root);

            _dict_to_AddFunc.Add(file_explorer.SpriteDirName, new Action <string, string>(file_explorer.AddSprite));
            _dict_to_AddFunc.Add(file_explorer.SongDirName, new Action <string, string>(file_explorer.AddSong));
            _dict_to_AddFunc.Add(file_explorer.FontDirName, new Action <string, string>(file_explorer.AddFont));
        }