Ejemplo n.º 1
0
        //歌曲添加
        private void bntMuserAdd_Click(object sender, EventArgs e)
        {
            frmMusicinfo frmInfo = new frmMusicinfo(1, "");

            frmInfo.Owner = this;
            frmInfo.ShowDialog();
        }
Ejemplo n.º 2
0
 //修改歌曲
 private void bntMuserUpdate_Click(object sender, EventArgs e)
 {
     if (strMuseName != null)
     {
         frmMusicinfo frmInfo = new frmMusicinfo(2, strMuseName);
         frmInfo.Owner = this;
         frmInfo.ShowDialog();
     }
     else
     {
         MessageBox.Show("选择要修改歌典");
     }
 }