Exemplo n.º 1
0
        public PlayListForm(ApplicationForm applicationForm)
        {
            InitializeComponent();
            playListBox     = new PlayListBox();
            this.parentForm = applicationForm;
            //MessageBox.Show($"{Environment.CurrentDirectory}\\Playlists.db");
            //MessageBox.Show($"{System.IO.Directory.GetParent(System.IO.Directory.GetParent(Environment.CurrentDirectory).FullName)}\\");


            this.pathDB          = $"{Environment.CurrentDirectory}\\Playlists.db";
            this.playlistsModel  = new PlaylistsModel(pathDB);
            this.mediaTrackModel = new MediaTrackModel(pathDB);
        }
Exemplo n.º 2
0
 public OptionsForm(ApplicationForm parentForm)
 {
     this._parentForm = parentForm;
     InitializeComponent();
 }