c点歌系统(编辑修改稿)内容摘要:

ton frmAuAdd = new frmAuton(1,)。 15 = this。 ()。 } public string strNameAuton = null。 private void lvAuton_Click(object sender, EventArgs e) { strNameAuton=[0].SubItems[0].Text。 } private void bntAuUpdate_Click(object sender, EventArgs e) { if (strNameAuton != null) { frmAuton frmAuAdd = new frmAuton(2,strNameAuton)。 = this。 ()。 }else { (请选择要修改的内容。 )。 return。 } } private void bntAuDelete_Click(object sender, EventArgs e) { if (strNameAuton != null) { (strNameAuton)。 (删除成功 )。 (2, lvAuton)。 } else { (请选择要删除的内容。 )。 16 return。 } } public string strMuseName = null。 private void lvMuscie_MouseClick(object sender, MouseEventArgs e) { strMuseName = [0].SubItems[0].Text。 } private void bntMuserUpdate_Click(object sender, EventArgs e) { if (strMuseName != null) { frmMusicinfo frmInfo = new frmMusicinfo(2,strMuseName)。 = this。 ()。 } else { (选择要修改歌典 )。 } } private void bntMuserDelete_Click(object sender, EventArgs e) { if (strMuseName != null) { if ((strMuseName) == 1) { (删除成功 )。 (lvMuscie)。 } else { 17 (删除失败 )。 (lvMuscie)。 } } else { (选择要删除歌典 )。 } } private void bntMuserAdd_Click(object sender, EventArgs e) { frmMusicinfo frmInfo = new frmMusicinfo(1, )。 = this。 ()。 } private void button4_Click(object sender, EventArgs e) { DialogResult diaol = (是否要退出后台管理系统。 , 提示 , , )。 if(diaol==) { ()。 } } public string strUser = null。 private void LvUser_Click(object sender, EventArgs e) { strUser = [0].SubItems[0].Text。 if (strUser != null) { fillScoure()。 } 18 } public void fillScoure() { OleDbDataReader dr = (strUser)。 ()。 if () { = dr[1].ToString()。 = false。 } } private void bntUserAdd_Click(object sender, EventArgs e) { intFalg = 1。 =。 =。 = true。 = true。 = false。 = false。 } private void bntUserUpdate_Click(object sender, EventArgs e) { intFalg = 2。 = false。 = false。 = true。 } private void bntUserDelete_Click(object sender, EventArgs e) { intFalg =3。 19 = false。 = true。 = false。 } public int intFalg。 private void bntSave_Click(object sender, EventArgs e) { if ( == ) { (用户名不能为空。 )。 ()。 return。 } if (intFalg != 3) { if ( == ) { (用户密码不能为空。 )。 ()。 return。 } } if (intFalg == 1) { = ()。 =。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。