FrmPinYin.cs
资源名称:KTV.rar [点击查看]
上传用户:fzwcsgshou
上传日期:2022-07-30
资源大小:28414k
文件大小:4k
源码类别:
行业应用
开发平台:
Visual C++
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Windows.Forms;
- using KTVData;
- namespace KTV
- {
- public partial class FrmPinYin : Form
- {
- public FrmPinYin()
- {
- InitializeComponent();
- }
- public string ZiMu = "A";
- public bool tag = false;
- private void FrmPinYin_Load(object sender, EventArgs e)
- {
- }
- public void ShowGeQu(string ZiMu)
- {
- if (tag==false)
- {
- FrmXuanGe FrmXuanGe1 = new FrmXuanGe();
- FrmXuanGe1.ds = KTVDB.SelectZiMu(ZiMu);
- FrmXuanGe1.Show();
- this.Close();
- }
- else
- {
- FrmGeShouList FrmGeShouList1 = new FrmGeShouList();
- FrmGeShouList1.Show();
- tag = false;
- this.Close();
- }
- }
- private void PA_Click(object sender, EventArgs e)
- {
- ShowGeQu("A");
- }
- private void PB_Click(object sender, EventArgs e)
- {
- ShowGeQu("B");
- }
- private void PC_Click(object sender, EventArgs e)
- {
- ShowGeQu("C");
- }
- private void PD_Click(object sender, EventArgs e)
- {
- ShowGeQu("D");
- }
- private void PE_Click(object sender, EventArgs e)
- {
- ShowGeQu("E");
- }
- private void PF_Click(object sender, EventArgs e)
- {
- ShowGeQu("F");
- }
- private void PG_Click(object sender, EventArgs e)
- {
- ShowGeQu("G");
- }
- private void PH_Click(object sender, EventArgs e)
- {
- ShowGeQu("H");
- }
- private void PI_Click(object sender, EventArgs e)
- {
- ShowGeQu("I");
- }
- private void PJ_Click(object sender, EventArgs e)
- {
- ShowGeQu("J");
- }
- private void PK_Click(object sender, EventArgs e)
- {
- ShowGeQu("K");
- }
- private void PL_Click(object sender, EventArgs e)
- {
- ShowGeQu("L");
- }
- private void PM_Click(object sender, EventArgs e)
- {
- ShowGeQu("M");
- }
- private void PN_Click(object sender, EventArgs e)
- {
- ShowGeQu("N");
- }
- private void PO_Click(object sender, EventArgs e)
- {
- ShowGeQu("O");
- }
- private void PP_Click(object sender, EventArgs e)
- {
- ShowGeQu("P");
- }
- private void PQ_Click(object sender, EventArgs e)
- {
- ShowGeQu("Q");
- }
- private void PR_Click(object sender, EventArgs e)
- {
- ShowGeQu("R");
- }
- private void PS_Click(object sender, EventArgs e)
- {
- ShowGeQu("S");
- }
- private void PT_Click(object sender, EventArgs e)
- {
- ShowGeQu("T");
- }
- private void PU_Click(object sender, EventArgs e)
- {
- ShowGeQu("U");
- }
- private void PV_Click(object sender, EventArgs e)
- {
- ShowGeQu("V");
- }
- private void PW_Click(object sender, EventArgs e)
- {
- ShowGeQu("W");
- }
- private void PX_Click(object sender, EventArgs e)
- {
- ShowGeQu("X");
- }
- private void PY_Click(object sender, EventArgs e)
- {
- ShowGeQu("Y");
- }
- private void PZ_Click(object sender, EventArgs e)
- {
- ShowGeQu("Z");
- }
- private void FanHui_Click(object sender, EventArgs e)
- {
- FrmXuanZe FrmXuanZe1 = new FrmXuanZe();
- FrmXuanZe1.Show();
- this.Close();
- }
- }
- }