FrmDiQu.cs
资源名称:KTV.rar [点击查看]
上传用户:fzwcsgshou
上传日期:2022-07-30
资源大小:28414k
文件大小:2k
源码类别:
行业应用
开发平台:
Visual C++
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Windows.Forms;
- namespace KTV
- {
- public partial class FrmDiQu : Form
- {
- public FrmDiQu()
- {
- InitializeComponent();
- }
- private void FrmDiQu_Load(object sender, EventArgs e)
- {
- }
- public void showXuanGe(string DiQu, string Sex)
- {
- DataSet ds = new DataSet();
- ds = KTVData.KTVDB.SelectGeShou(DiQu, Sex);
- if (ds.Tables[0].Rows.Count < 1)
- {
- MessageBox.Show("此信息暂无任何歌曲,请重新选择!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- return;
- }
- FrmGeShouList FrmGeShouList1 = new FrmGeShouList();
- FrmGeShouList1.ds = ds;
- FrmGeShouList1.Show();
- this.Close();
- }
- private void PNeiDiNan_Click(object sender, EventArgs e)
- {
- showXuanGe("内地", "男");
- }
- private void PNeiDiNv_Click(object sender, EventArgs e)
- {
- showXuanGe("内地", "女");
- }
- private void PGangTaiNan_Click(object sender, EventArgs e)
- {
- showXuanGe("港台", "男");
- }
- private void PGangTaiNv_Click(object sender, EventArgs e)
- {
- showXuanGe("港台", "女");
- }
- private void PRiHan_Click(object sender, EventArgs e)
- {
- showXuanGe("日韩", "");
- }
- private void POuMei_Click(object sender, EventArgs e)
- {
- showXuanGe("欧美", "");
- }
- }
- }