Ejemplo n.º 1
0
        private void AddEntryButton_Click(object sender, EventArgs e)
        {
            //GetSelectedRowNumber();
            AddEntryWindow aew = new AddEntryWindow(selectedTable);

            aew.ShowDialog();

            Manager.streamer.Write("update");
        }
Ejemplo n.º 2
0
        private void songToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddEntryWindow aew = new AddEntryWindow(selectedTable);

            aew.ShowDialog();
            Console.WriteLine(aew.album + " " + aew.name + " " + aew.artist);
            Manager.UploadSong(aew.filepath, aew.artist, aew.album, aew.name, aew.genre, aew.releaseDate, aew.length, CurrentUser, aew.track_no);

            /*Manager.streamer.Refresh();
             * Manager.streamer.Write("update");
             * Manager.streamer.CloseControlStream();*/
            Manager.streamer.Update();
        }