FrmZiShu.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 FrmZiShu : Form
- {
- public FrmZiShu()
- {
- InitializeComponent();
- }
- public FrmXuanGe FrmXuanGe1 = new FrmXuanGe();
- public void ShowGeQu(int ZiShu)
- {
- FrmXuanGe1.ds = KTVData.KTVDB.SelectZiShu(ZiShu);
- FrmXuanGe1.Show();
- this.Close();
- }
- private void P1_Click(object sender, EventArgs e)
- {
- ShowGeQu(1);
- }
- private void P2_Click(object sender, EventArgs e)
- {
- ShowGeQu(2);
- }
- private void P3_Click(object sender, EventArgs e)
- {
- ShowGeQu(3);
- }
- private void P4_Click(object sender, EventArgs e)
- {
- ShowGeQu(4);
- }
- private void P5_Click(object sender, EventArgs e)
- {
- ShowGeQu(5);
- }
- private void P6_Click(object sender, EventArgs e)
- {
- ShowGeQu(6);
- }
- private void P7_Click(object sender, EventArgs e)
- {
- ShowGeQu(7);
- }
- private void P8_Click(object sender, EventArgs e)
- {
- ShowGeQu(8);
- }
- private void P9_Click(object sender, EventArgs e)
- {
- ShowGeQu(9);
- }
- private void QiTa_Click(object sender, EventArgs e)
- {
- ShowGeQu(10);
- }
- private void QuanBu_Click(object sender, EventArgs e)
- {
- ShowGeQu(0);
- }
- private void BoFangLeiBiao_Click(object sender, EventArgs e)
- {
- FrmMain.FrmBoFang1.Focus();
- this.Close();
- }
- private void FanHui_Click(object sender, EventArgs e)
- {
- FrmXuanZe FrmXuanZe1 = new FrmXuanZe();
- FrmXuanZe1.Show();
- this.Close();
- }
- }
- }