Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            //添加歌曲类别
            frmdictionary dicTory = new frmdictionary(1, "");

            dicTory.Owner = this;
            dicTory.ShowDialog();
        }
Ejemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (strName == null)
     {
         MessageBox.Show("请选择要修改的内容!");
         return;
     }
     else
     {
         //修改歌典类别信息
         frmdictionary dicTory = new frmdictionary(2, strName);
         dicTory.Owner = this;
         dicTory.ShowDialog();
     }
 }