云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > C#版进销库存商品管理系统方案

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

  • 62 次阅读
  • 3 次下载
  • 2025/5/30 23:39:05

Word格式

【源代码的实现】

登录模块

登录模块根据用户角色不同在登陆成功以后被赋予相应的操作权限,对管理系统有对进货商品的录入、销售商品的录入等一些操作权限。 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 Form1 : Form {

public Form1() {

InitializeComponent(); }

private void button2_Click(object sender, EventArgs e) {

}

private void button1_Click(object sender, EventArgs e) {

SqlConnection con = new

SqlConnection(\); con.Open(); SqlDataAdapter da = new SqlDataAdapter(\* from log where name='\ + textBox1.Text.Trim() + \ + textBox2.Text.Trim() + \, con); DataSet ds = new DataSet(); da.Fill(ds);

if (ds.Tables[0].Rows.Count == 0) {

MessageBox.Show(\用户名和密码有误.请重新输入\, \系统提示\, MessageBoxButtons.OK, MessageBoxIcon.Error); return; }

完美整理

Word格式

else {

MessageBox.Show(\登陆成功,欢迎进入!\, \系统提示\, MessageBoxButtons.OK, MessageBoxIcon.Information); Form2 f2= new Form2(); f2.Show(); this.Hide(); } }

private void label3_Click(object sender, EventArgs e) {

Form10 f10 =new Form10(); f10.Show(); this.Hide(); }

private void Form1_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;

namespace csharp {

public partial class Form2 : Form {

public Form2() {

InitializeComponent(); }

完美整理

Word格式

private void label1_Click(object sender, EventArgs e) {

}

private void 基本档案BToolStripMenuItem_Click(object sender, EventArgs e)

{

Form3 f3 = new Form3(); f3.Show(); this.Hide(); }

private void 进货管理CToolStripMenuItem_Click(object sender, EventArgs e)

{

Form4 f4 = new Form4(); f4.Show(); this.Hide(); }

private void 销售管理SToolStripMenuItem_Click(object sender, EventArgs e)

{

Form5 f5= new Form5(); f5.Show(); this.Hide(); }

private void 库存管理DToolStripMenuItem_Click(object sender, EventArgs e)

{

Form6 f6 = new Form6(); f6.Show(); this.Hide(); }

private void 供应商信息ToolStripMenuItem_Click(object sender, EventArgs e)

{

Form8 f8 = new Form8(); f8.Show();

完美整理

Word格式

this.Hide(); }

private void 系统维护KToolStripMenuItem_Click_1(object sender, EventArgs e)

{

Form6 f6 = new Form6(); f6.Show(); this.Hide(); }

private void label1_Click_1(object sender, EventArgs e) {

}

private void button1_Click(object sender, EventArgs e) {

Form9 f9 = new Form9(); f9.Show(); this.Hide(); }

private void button2_Click(object sender, EventArgs e) {

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

private void 意见反馈ToolStripMenuItem_Click(object sender, EventArgs e) {

Form11 f11 = new Form11(); f11.Show(); this.Hide(); ; }

private void Form2_Load(object sender, EventArgs e) {

} } }

完美整理

搜索更多关于: C#版进销库存商品管理系统方案 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

Word格式 【源代码的实现】 登录模块 登录模块根据用户角色不同在登陆成功以后被赋予相应的操作权限,对管理系统有对进货商品的录入、销售商品的录入等一些操作权限。 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

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com