public BlockTableEditorForm(SpotifyController spotControl) { this.spotControl = spotControl; InitializeComponent(); }
private void MainForm_Load(object sender, EventArgs e) { spotControl = new SpotifyController(nowPlayingLabel, playMusicToolStripMenuItem); stopButton.Enabled = false; blacklistArtistButton.Enabled = false; blacklistSongButton.Enabled = false; }
// our constructor has a controller reference so we can retreive information from the current audio session. public SpotifyInformation(SpotifyController controller) { this.controller = controller; }