开发工具:
文件大小: 12mb
下载次数: 0
上传时间: 2010-01-03
详细说明: c#版 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace 旅游管理系统 { public partial class Form78 : Form { public Form78() { InitializeComponent(); } private void Form78_Load(object sender, EventArgs e) { this.textBox1.Focus(); } private void button1_Click(object sender, EventArgs e) { dataconn.data_banc i1 = this.textBox1.Text.Trim(); dataconn.data_banci2 = this.textBox2.Text.Trim(); dataconn.form9.showcx(); this.Hide(); } public void show11() { dataconn.data_bc1 = this.textBox3.Text.Trim(); string m = comboBox1.Text.Trim(); switch (m) { case "等于": dataconn.data_bc2 = "="; break; case "不等于": dataconn.data_bc2 = "<>"; break; case "小于": dataconn.data_bc2 = "<"; break; case "大于": dataconn.data_bc2 = ">"; break; case "小于等于": dataconn.data_bc2 = "<="; break; case "大于等于": dataconn.data_bc2 = ">="; break; } } public void show12() { dataconn.data_bc3 = this.textBox4.Text.Trim(); string n = comboBox2.Text.Trim(); switch (n) { case "等于": dataconn.data_bc4 = "="; break; case "不等于": dataconn.data_bc4 = "<>"; break; case "小于": dataconn.data_bc4 = "<"; break; case "大于": dataconn.data_bc4 = ">"; break; case "小于等于": dataconn.data_bc4 = "<="; break; case "大于等于": dataconn.data_bc4 = ">="; break; } } public void show13() { dataconn.data_bc5 = this.textBox5.Text.Trim(); string f = comboBox3.Text.Trim(); switch (f) { case "等于": dataconn.data_bc6 = "="; break; case "不等于": dataconn.data_bc6 = "<>"; break; case "小于": dataconn.data_bc6 = "<"; break; case "大于": dataconn.data_bc6 = ">"; break; case "小于等于": dataconn.data_bc6 = "<="; break; case "大于等于": dataconn.data_bc6 = ">="; break; } } public void show14() { dataconn.data_bc7 = this.textBox6.Text.Trim(); string k = comboBox4.Text.Trim(); switch (k) { case "等于": dataconn.data_bc8 = "="; break; case "不等于": dataconn.data_bc8 = "<>"; break; } } public void show15() { dataconn.data_bc9 = this.textBox7.Text.Trim(); string b = comboBox8.Text.Trim(); switch (b) { case "等于": dataconn.data_bc10 = "="; break; case "不等于": dataconn.data_bc10 = "<>"; break; case "小于": dataconn.data_bc10 = "<"; break; case "大于": dataconn.data_bc10 = ">"; break; case "小于等于": dataconn.data_bc10 = "<="; break; case "大于等于": dataconn.data_bc10 = ">="; break; } } public void show16() { dataconn.data_bc11 = this.textBox8.Text.Trim(); string p = comboBox9.Text.Trim(); switch (p) { case "等于": dataconn.data_bc12 = "="; break; case "不等于": dataconn.data_bc12 = "<>"; break; case "小于": dataconn.data_bc12 = "<"; break; case "大于": dataconn.data_bc12 = ">"; break; case "小于等于": dataconn.data_bc12 = "<="; break; case "大于等于": dataconn.data_bc12 = ">="; break; } } private void toolStripButton1_Click(object sender, EventArgs e) { if (comboBox5.Text.Trim() != "") { dataconn.data_sx1 = this.comboBox5.Text.Trim(); dataconn.data_sx1 = "order by " + dataconn.data_sx1; if (this.radioButton1.Checked == true) dataconn.data_sx2 = "asc"; else dataconn.data_sx2 = "desc"; } if (comboBox6.Text.Trim() != "") { dataconn.data_sx3 = this.comboBox6.Text.Trim(); dataconn.data_sx3 = "," + dataconn.data_sx3; if (this.radioButton4.Checked == true) dataconn.data_sx4 = "asc"; else dataconn.data_sx4 = "desc"; } if (comboBox7.Text.Trim() != "") { dataconn.data_sx5 = this.comboBox7.Text.Trim(); dataconn.data_sx5 = "," + dataconn.data_sx5; if (this.radioButton6.Checked == true) dataconn.data_sx6 = "asc"; else dataconn.data_sx6 = "desc"; } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { dataconn.form9.showdate(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); dataconn.form9.show1(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show12(); dataconn.form9.show2(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show13(); dataconn.form9.show3(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show14(); dataconn.form9.show4(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show15(); dataconn.form9.show5(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show16(); dataconn.form9.show6(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show12(); dataconn.form9.show7(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show13(); dataconn.form9.show8(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show14(); dataconn.form9.show9(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show15(); dataconn.form9.show10(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show16(); dataconn.form9.show11(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show12(); show13(); dataconn.form9.show12(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show12(); show14(); dataconn.form9.show13(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show12(); show15(); dataconn.form8.show14(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show12(); show16(); dataconn.form9.show15(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show13(); show14(); dataconn.form9.show16(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show13(); show15(); dataconn.form9.show17(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show13(); show16(); dataconn.form9.show18(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show14(); show15(); dataconn.form9.show19(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show14(); show16(); dataconn.form9.show20(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show15(); show16(); dataconn.form9.show21(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show12(); show13(); dataconn.form9.show22(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show12(); show14(); dataconn.form9.show23(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show12(); show15(); dataconn.form9.show24(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show12(); show16(); dataconn.form9.show25(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show13(); show14(); dataconn.form9.show26(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show13(); show15(); dataconn.form9.show27(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show13(); show16(); dataconn.form9.show28(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show14(); show15(); dataconn.form9.show29(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show14(); show16(); dataconn.form9.show30(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show15(); show16(); dataconn.form9.show31(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show12(); show13(); show14(); dataconn.form9.show32(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show12(); show13(); show15(); dataconn.form9.show33(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show12(); show13(); show16(); dataconn.form9.show34(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show12(); show14(); show15(); dataconn.form9.show35(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show12(); show14(); show16(); dataconn.form9.show36(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show12(); show15(); show16(); dataconn.form9.show37(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show13(); show14(); show15(); dataconn.form9.show38(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show13(); show14(); show16(); dataconn.form9.show39(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show13(); show15(); show16(); dataconn.form9.show40(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show14(); show15(); show16(); dataconn.form9.show41(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == false) { show11(); show12(); show13(); show14(); dataconn.form9.show42(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show12(); show13(); show15(); dataconn.form9.show43(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show12(); show13(); show16(); dataconn.form9.show44(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show12(); show14(); show15(); dataconn.form9.show45(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show12(); show14(); show16(); dataconn.form9.show46(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show12(); show15(); show16(); dataconn.form9.show47(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show13(); show14(); show15(); dataconn.form9.show48(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show13(); show14(); show16(); dataconn.form9.show49(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show13(); show15(); show16(); dataconn.form9.show50(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show14(); show15(); show16(); dataconn.form9.show51(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show12(); show13(); show14(); show15(); dataconn.form9.show52(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show12(); show13(); show14(); show16(); dataconn.form9.show53(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show12(); show13(); show15(); show16(); dataconn.form9.show54(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show12(); show14(); show15(); show16(); dataconn.form9.show55(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show13(); show14(); show15(); show16(); dataconn.form9.show56(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == false) { show11(); show12(); show13(); show14(); show15(); dataconn.form9.show57(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == false && checkBox6.Checked == true) { show11(); show12(); show13(); show14(); show16(); dataconn.form9.show58(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == false && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show12(); show13(); show15(); show16(); dataconn.form9.show59(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == false && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show12(); show14(); show15(); show16(); dataconn.form9.show60(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == false && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show13(); show14(); show15(); show16(); dataconn.form9.show61(); this.Hide(); } if (checkBox1.Checked == false && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show12(); show13(); show14(); show15(); show16(); dataconn.form9.show62(); this.Hide(); } if (checkBox1.Checked == true && checkBox2.Checked == true && checkBox3.Checked == true && checkBox4.Checked == true && checkBox5.Checked == true && checkBox6.Checked == true) { show11(); show12(); show13(); show14(); show15(); show16(); dataconn.form9.show63(); this.Hide(); } } } } ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.