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

当前位置:首页 > 仓库管理系统数据库课程设计

仓库管理系统数据库课程设计

  • 62 次阅读
  • 3 次下载
  • 2025/12/2 16:43:07

KeyPressEventArgs e) {

if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar)&&e.KeyChar!='.') {

MessageBox.Show(\请输入数字\ e.Handled = true; } }

private void txtGoodsNum_KeyPress(object sender, KeyPressEventArgs e) {

if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar)) {

MessageBox.Show(\请输入数字\ e.Handled = true; } }

private void txtGoodsJhPrice_KeyPress(object sender, KeyPressEventArgs e) {

if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar) && e.KeyChar != '.') {

MessageBox.Show(\请输入数字\ e.Handled = true; }

}

private void txtGoodsNoPrice_KeyPress(object sender, KeyPressEventArgs e) {

if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar) && e.KeyChar != '.') {

MessageBox.Show(\请输入数字\ e.Handled = true; } }

//供应商信息

private void button1_Click(object sender, EventArgs e) {

frmGonYingShang frmgong = new frmGonYingShang(); frmgong.Owner = this; frmgong.ShowDialog(); }

private void tollDelete_Click(object sender, EventArgs e) {

ControlStatus(); ClearContorl(); intFalg = 3;//添加标记 } }

}

附录二:库存查询代码 using System;

using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text;

using System.Windows.Forms; using CHEXC.GoodMenhod; using CHEXC.ClassInfo;

namespace CHEXC {

public partial class frmKcGoodFind : Form {

public frmKcGoodFind() {

InitializeComponent(); }

tb_KcGoodsMenthod tb_GoodMenthd = new tb_KcGoodsMenthod(); tb_KcGoods kcgood = new tb_KcGoods();

private void button1_Click(object sender, EventArgs e) {

if (comboBox1.Text == \ {

MessageBox.Show(\请选择查询条件!\ return;

}

if (txtkey.Text == \ {

MessageBox.Show(\请输入查询信息\ return; }

switch (comboBox1.Text) {

case \商品编号\商品编号\ kcgood.strGoodsID = txtkey.Text;

tb_GoodMenthd.tb_ThGoodsFind(dataGridView1,1,kcgood); break;

case \商品名称\商品名称\

kcgood.strKcGoodsName = txtkey.Text;

tb_GoodMenthd.tb_ThGoodsFind(dataGridView1, kcgood);

break; } }

private void frmKcGoodFind_Load(object sender, EventArgs e) {

} } }

2,

搜索更多关于: 仓库管理系统数据库课程设计 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

KeyPressEventArgs e) { if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar)&&e.KeyChar!='.') { MessageBox.Show(\请输入数字\ e.Handled = true; } } private void txtGoodsNum_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar))

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价: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