Beispiel #1
0
 public MusicFileManager(ITreeView ViewInterface, ColorScheme colors)
 {
     //InitializeComponent();
     //suppose to help prevent start up crash by loading in the handle.
     //mayeb stick this in the base class as well?
     //var foo = this.Handle;
     if (MusicPlayer.Instance != null)
     {
         MusicPlayer.Instance.DirectoriesAddedEvent += DirectoryAdded;
     }
     _view          = ViewInterface;
     FileColor      = Color.WhiteSmoke;
     loadID3Tags    = true;
     Colors         = colors;
     listGUIcallack = new ListGUICallBack(ListGUIDelegateCallback);
 }
 public PlaylistFileManager(ITreeView TreeViewInterface)
 {
     _view = TreeViewInterface;
     editDirectoriesGUIdelegate = new ListGUICallBack(EditDirectoriesCallback);
 }