C#超市商品库存管理信息系统--课程设计任务书 联系客服

发布时间 : 星期三 文章C#超市商品库存管理信息系统--课程设计任务书更新完毕开始阅读172d4405302b3169a45177232f60ddccdb38e607

沈阳航空航天大学设计用纸

} }

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;

namespace _143403030608 {

public partial class Form4 : Form {

public static int o ; public Form4() {

InitializeComponent(); }

private void label1_Click(object sender, EventArgs e) {

29

沈阳航空航天大学设计用纸

}

private void button1_Click(object sender, EventArgs e) {

int a, b;

a = int.Parse(textBox1.Text); b= int.Parse(textBox2.Text); if (a == b) {

label3.Text = \设置密码成功\ label3.ForeColor = Color.Blue; o = a; } else {

label3.Text = \两次输入不相等,请重新输入!\

label3.ForeColor = Color.Red; } }

private void button2_Click(object sender, EventArgs e) {

Form1 frm1 = new Form1();

30

沈阳航空航天大学设计用纸

frm1.Show(); this.Hide(); } } }

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; using System.Media;

namespace _143403030608 {

public partial class Form5 : Form {

public double c; public Form5() {

31

沈阳航空航天大学设计用纸

InitializeComponent(); }

private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)

{

}

private void Form5_Load(object sender, EventArgs e) {

// TODO: 这行代码将数据加载到表“dataSet2.student”中。您可以根据需要移动或删除它。

this.studentTableAdapter.Fill(this.dataSet2.student);

}

private void label4_Click(object sender, EventArgs e) {

}

private void textBox3_TextChanged(object sender, EventArgs e)

32