第一范文网 - 专业文章范例文档资料分享平台

C#版进销库存商品管理系统方案

来源:用户分享 时间:2025/5/26 6:22:16 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

Word格式

public partial class Form9 : Form {

public Form9() {

InitializeComponent(); }

private void button2_Click(object sender, EventArgs e) {

Form2 f2 = new Form2(); f2.Show(); this.Close(); }

private void button1_Click(object sender, EventArgs e) {

Application.Exit(); }

private void Form9_Load(object sender, EventArgs e) {

} } }

意见反馈模块

意见反馈模块,是提供一个平台,将使用者的使用意见反馈给系统程序员,对该系统的改进和提高。

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.SqlClient;

namespace csharp {

public partial class Form11 : Form

完美整理

Word格式

{

public Form11() {

InitializeComponent(); }

private void label1_Click(object sender, EventArgs e) { }

private void button1_Click(object sender, EventArgs e) {

Form2 f2 = new Form2(); f2.Show(); this.Close(); }

private void button2_Click(object sender, EventArgs e) {

SqlConnection conn = new

SqlConnection(\); string strsql = \into rep(rp) values ('\ + richTextBox1 + \; SqlCommand comm = new SqlCommand(strsql, conn); if (conn.State == ConnectionState.Closed) {

conn.Open(); }

if (Convert.ToInt32(comm.ExecuteNonQuery()) > 0) {

MessageBox.Show(\留言成功O(∩_∩)O~\, \提示\, MessageBoxButtons.OK, MessageBoxIcon.Information); } else {

MessageBox.Show(\对不起,失败了,请稍后重试!::>_<:: \, \提示\, MessageBoxButtons.OK, MessageBoxIcon.Information); }

conn.Close(); }

private void richTextBox1_TextChanged(object sender, EventArgs e) {

完美整理

Word格式

}

private void Form11_Load(object sender, EventArgs e) {

} } }

注册登录新用户模块:注册新用户信息。

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.SqlClient;

namespace csharp {

public partial class Form10 : Form {

public Form10() {

InitializeComponent(); }

private void button2_Click(object sender, EventArgs e) {

Form1 f1 = new Form1(); f1.Show(); this.Close(); }

private void button1_Click(object sender, EventArgs e) {

SqlConnection conn = new

SqlConnection(\); string strsql = \ + textBox1.Text + \ + textBox2.Text + \;

SqlCommand comm = new SqlCommand(strsql, conn); if (conn.State == ConnectionState.Closed)

完美整理

Word格式

{

conn.Open(); }

if (Convert.ToInt32(comm.ExecuteNonQuery()) > 0) {

MessageBox.Show(\注册成功,请返回登录O(∩_∩)O~\, \提示\, MessageBoxButtons.OK, MessageBoxIcon.Information); } else {

MessageBox.Show(\对不起,注册失败了::>_<:: \, \提示\, MessageBoxButtons.OK, MessageBoxIcon.Information); }

conn.Close(); }

private void Form10_Load(object sender, EventArgs e) {

} } }

完美整理

搜索更多关于: C#版进销库存商品管理系统方案 的文档
C#版进销库存商品管理系统方案.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c45e597auhl6rgfk15sw18xzko02xvg00ftk_6.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top