资源简介
KTV 点歌系统 源码,不容错过啊。
做KTV项目的,值得下载
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using KTV.KTVclass;
using System.Data.OleDb;
namespace KTV
{
public partial class frmAuton : Form
{
public frmAuton()
{
InitializeComponent();
}
public frmAuton(int intcuntstring strId)
{
InitializeComponent();
intFalg = intcunt;
strgetId = strId;
}
public int intFalg = 0;
public string strgetId = null;
frmdictionaryMenthod frmDictiyon = new frmdictionaryMenthod();
tb_authorinfo tbAu = new tb_authorinfo();
tb_authorinfoMenthod tbAuMenthod = new tb_authorinfoMenthod();
private void frmAuton_Load(object sender EventArgs e)
{
frmDictiyon.dictionaryFind(“1“cmbauthorcompany);
if (intFalg == 1)
{
txtauthorId.Text = tbAuMenthod.gettb_authorinfoID();
}
if (intFalg == 2)
{
getFill();
}
}
public void getFill()
{
OleDbDataReader dr = tbAuMenthod.AuthFind(strgetId);
dr.Read();
if (dr.HasRows)
{
txtauthorId.Text = dr[0].ToString();
txtauthorName.Text=dr[1].ToString();
cmbauthorSex.Text=dr[2].ToString();
daAuthorbirthday.Value=Convert.ToDateTime(dr[3].ToString());
comboBox2.Text=dr[4].ToString();
cmbauthorcompany.Text=dr[5].ToString();
txtauthorRecma.Text=dr[6].ToString();
txtauthorzjm.Text=dr[7].ToString();
}
dr.Close();
}
private void bntSure_Click(object sender EventArgs e)
{
if (txtauthorName.Text == ““)
{
MessageBox.Show(“姓名不能为空“);
return;
}
tbAu.intauthorId = txtauthorId.Text;
tbAu.strauthorName = txtauthorName.Text;
tbAu.strauthorSex = cmbauthorSex.Text;
tbAu.daauthorbirthday = daAuthorbirthday.Value;
tbAu.strauthorGenre = comboBox2.Text;
tbAu.strauthorcompany = cmbauthorcompany.Text;
tbAu.strauthorRecma = txtauthorRecma.Text;
tbAu.strauthorzjm = txtauthorzjm.Text;
tbAu.daRdateTime = DateTime.Now;
if (intFalg == 1)
{
if (tbAuMenthod.AuthAdd(tbAu) == 1)
{
MessageBox.Show(“添加成功!“);
frmMain frm = (frmMain)this.Owner;
tbAuMenthod.tb_authorinfoFill(“2“frm.lvAuton);
intFalg = 0;
this.Close();
}
else
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1717 2009-07-24 16:21 51bcw下载必读.txt
文件 898 2008-11-29 14:00 KTV.sln
文件 1717 2009-07-24 16:21 KTV\51bcw下载必读.txt
文件 800 2009-05-25 15:34 KTV\app.config
文件 49152 2009-05-25 13:00 KTV\bin\Debug\AxInterop.WMPLib.dll
文件 929792 2009-05-25 13:08 KTV\bin\Debug\DB_51aspx\db_KTV.mdb
文件 274432 2009-05-25 13:00 KTV\bin\Debug\Interop.WMPLib.dll
文件 974848 2009-05-25 15:51 KTV\bin\Debug\KTV.exe
文件 800 2009-05-25 15:34 KTV\bin\Debug\KTV.exe.config
文件 163328 2009-05-25 15:51 KTV\bin\Debug\KTV.pdb
文件 5632 2005-12-08 14:51 KTV\bin\Debug\KTV.vshost.exe
文件 800 2009-05-25 15:34 KTV\bin\Debug\KTV.vshost.exe.config
文件 929792 2009-07-24 16:22 KTV\DB_51bcw\db_KTV.mdb
文件 9430 2008-11-29 14:00 KTV\frmAuton.cs
文件 11824 2008-11-29 14:00 KTV\frmAuton.Designer.cs
文件 5814 2008-11-29 14:00 KTV\frmAuton.resx
文件 3136 2008-11-29 14:00 KTV\frmDaiGe.cs
文件 8583 2008-11-29 14:00 KTV\frmDaiGe.Designer.cs
文件 5814 2008-11-29 14:00 KTV\frmDaiGe.resx
文件 2886 2008-11-29 14:00 KTV\frmdictionary.cs
文件 5836 2008-11-29 14:00 KTV\frmdictionary.Designer.cs
文件 5814 2008-11-29 14:00 KTV\frmdictionary.resx
文件 2317 2009-05-25 13:03 KTV\frmLogin.cs
文件 6738 2008-11-29 14:00 KTV\frmLogin.Designer.cs
文件 5814 2008-11-29 14:00 KTV\frmLogin.resx
文件 12361 2008-11-29 14:00 KTV\frmMain.cs
文件 27913 2008-11-29 14:00 KTV\frmMain.Designer.cs
文件 5814 2008-11-29 14:00 KTV\frmMain.resx
文件 10339 2008-11-29 14:00 KTV\frmMusicinfo.cs
文件 11479 2008-11-29 14:00 KTV\frmMusicinfo.Designer.cs
............此处省略66个文件信息
- 上一篇:虎牙直播地址解析.exe
- 下一篇:自制ST_li
nk_V2所有资料
相关资源
- 易语言:一键cf基址源码
- The Secret Path 3D 3D魔方迷宫[源码][scra
- scratch垃圾分类源码(最终版本).sb
- 安卓QQ6.71协议源码易语言,qq协议源码
- 编译原理实验工具及参考源码(lex&
- E盾偷后台工具源码
- UNIX/LINUX编程实践教程的源码
- 十以内加减法练习 powerbuilder源码
- 农场开发项目
- OCR源码
- PLC上位机编程软件
- 用foobar2000听google音乐[更新一下]
- 学生信息管理系统源码
- 用VC 编写的仿QQ聊天室程序源代码
- 毕业论文之温度传感器DS18B20(源码
- 可自定义导航网站源码
- 栅栏填充算法源码(VC)
- msp430F149操作红外接收模块源码
- [免费]图像识别c 源码
- 周易排盘源码
- RSA算法源码
- 一个人脸识别程序源码
- 编译原理课程设计:词法语法编译器
- 透明加密源码及说明
- 电视直播源码
- 远程桌面(带C 源码)
- mtrace 源码
- 安卓协议QQ源码包附模块源码
- 天龙八部2易语言源码HX
- 读取串口数据并画实时曲线的VC 程序
评论
共有 条评论