private void sQLMusicTestToolStripMenuItem_Click(object sender, EventArgs e) { PlaylistAddDialog plDialog = new PlaylistAddDialog(); plDialog.ShowDialog(); if (plDialog.DialogResult.Equals(DialogResult.OK)) { MessagePlayMusicSql musicSql = new MessagePlayMusicSql("strAlbum LIKE '%" + plDialog.GetAlbum() + "%'", plDialog.GetLimit(), plDialog.Shuffle(), plDialog.Autoplay(), plDialog.Append()); SendCommand(musicSql, socket); } }
private void sQLMusicTestToolStripMenuItem_Click(object sender, EventArgs e) { PlaylistAddDialog plDialog = new PlaylistAddDialog(); plDialog.ShowDialog(); if (plDialog.DialogResult.Equals(DialogResult.OK)) { MessagePlayMusicSql musicSql = new MessagePlayMusicSql("strAlbum LIKE '%"+ plDialog.GetAlbum() +"%'", plDialog.GetLimit(), plDialog.Shuffle(), plDialog.Autoplay(), plDialog.Append()); SendCommand(musicSql, socket); } }