예제 #1
0
 private void ShowSongLyricsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Music.Count != 0)
     {
         LyricsForm LyricsForm = new LyricsForm(Music[CurrentPlayingMusicIndex])
         {
             Icon = this.Icon
         };
         LyricsForm.Show();
     }
 }
예제 #2
0
 private void ShowMusicLyricsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Music.Count != 0)
     {
         for (int i = 0; i < FlowLayoutPanelMusic.Controls.Count; i++)
         {
             if (FlowLayoutPanelMusic.Controls[i].BackColor == Color.FromArgb(28, 28, 28))
             {
                 LyricsForm LyricsForm = new LyricsForm(Music[i])
                 {
                     Icon = this.Icon
                 };
                 LyricsForm.Show();
                 break;
             }
         }
     }
 }