沈阳航空航天大学设计用纸
}
private void button2_Click(object sender, EventArgs e) {
this.Close(); }
private void button3_Click(object sender, EventArgs e) {
Form3 frm1 = new Form3(); frm1.Show(); this.Hide(); }
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void button4_Click(object sender, EventArgs e) {
SoundPlayer
17
msc = new
沈阳航空航天大学设计用纸
SoundPlayer(@\143403030608\\14340303\
msc.Play();
Form5 frm1 = new Form5(); frm1.Show(); this.Hide(); }
private void Form1_Load(object sender, EventArgs e) { }
private void button5_Click(object sender, EventArgs e) {
SoundPlayer
msc
=
new
裴
彦
文
SoundPlayer(@\裴彦文143403030608\\143\+ \
msc.Play(); } }
18
沈阳航空航天大学设计用纸
} using System;
using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;
using System.Windows.Forms; using System.Data.Odbc;
namespace _143403030608 {
public partial class Form2 : Form {
public Form2() {
InitializeComponent(); }
private void Form2_Load(object sender, EventArgs e) {
// TODO: 这行代码将数据加载到表“dataSet1.student”中。您可以根据需要移动或删除它。
19
沈阳航空航天大学设计用纸
this.studentTableAdapter.Fill(this.dataSet1.student);
}
private void button4_Click(object sender, EventArgs e) {
string ConnString1 = \ OdbcConnection OdbcConnection(ConnString1);
try {
myConn.Open(); //打开连接
MessageBox.Show(\继续点击确认添加! \
OdbcCommand
myCommand
=
myConn
=
new
myConn.CreateCommand(); //创建命令对象myCommand
string ld_1 = this.textBox1.Text; string ls_2 = this.textBox2.Text; string ls_3 = this.textBox3.Text; string ls_4 = this.textBox4.Text; string ls_5 = this.textBox5.Text; string ls_6 = this.textBox6.Text; myCommand.CommandText
20
= \
相关推荐: